mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 18:29:23 +02:00
better j2me compilability (22 errors now)
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@601 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
a336b2a950
commit
b71a9097cb
4 changed files with 34 additions and 5 deletions
4
platform/j2me/src/java/util/zip/ZipEntry.java
Normal file
4
platform/j2me/src/java/util/zip/ZipEntry.java
Normal file
|
@ -0,0 +1,4 @@
|
|||
package java.util.zip;
|
||||
|
||||
public class ZipEntry {
|
||||
}
|
19
platform/j2me/src/java/util/zip/ZipFile.java
Normal file
19
platform/j2me/src/java/util/zip/ZipFile.java
Normal file
|
@ -0,0 +1,19 @@
|
|||
package java.util.zip;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
public class ZipFile {
|
||||
public ZipFile(String name) {
|
||||
// TODO: implement
|
||||
}
|
||||
|
||||
public ZipEntry getEntry(String entryName) {
|
||||
// TODO: implement
|
||||
return null;
|
||||
}
|
||||
|
||||
public InputStream getInputStream(ZipEntry entry) {
|
||||
// TODO: implement
|
||||
return null;
|
||||
}
|
||||
}
|
10
platform/j2me/src/java/util/zip/ZipInputStream.java
Normal file
10
platform/j2me/src/java/util/zip/ZipInputStream.java
Normal file
|
@ -0,0 +1,10 @@
|
|||
package java.util.zip;
|
||||
|
||||
import java.io.InputStream;
|
||||
|
||||
public class ZipInputStream extends InputStream {
|
||||
public int read() {
|
||||
// TODO: implement
|
||||
return 0;
|
||||
}
|
||||
}
|
|
@ -2,13 +2,9 @@ package org.zlibrary.core.filesystem;
|
|||
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
import java.util.zip.*;
|
||||
import org.zlibrary.core.util.*;
|
||||
|
||||
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipFile;
|
||||
import java.util.zip.ZipInputStream;
|
||||
|
||||
import org.zlibrary.core.library.ZLibrary;
|
||||
|
||||
public class ZLFile {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue