3 import java.io.BufferedInputStream;
4 import java.io.DataInputStream;
11 public interface GenericBinaryDocument {
13 void setStream(GenericZipTools jzt, BufferedInputStream bis, boolean isBigEndian);
15 void setStreamData(DataInputStream dataInputStream, boolean isBigEndian);
19 SB getAllDataFiles(String binaryFileList, String firstFile);
21 void getAllDataMapped(String replace, String string, Map<String, String> fileData);
23 int swapBytesI(int nx);
25 short swapBytesS(short s);
29 byte readByte() throws Exception;
31 int readInt() throws Exception;
33 int readIntLE() throws Exception;
35 long readLong() throws Exception;
37 float readFloat() throws Exception;
39 double readDouble() throws Exception;
41 short readShort() throws Exception;
43 int readUnsignedShort() throws Exception;
45 String readString(int i) throws Exception;
47 int readByteArray(byte[] b, int off, int len) throws Exception;
51 void setOutputChannel(OC out);