1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-05 19:42:17 +02:00

renaming: ZLInputStreamWithOffset => InputStreamWithOffset

This commit is contained in:
Nikolay Pultsin 2014-01-19 18:56:33 +00:00
parent 35659635aa
commit 2f18cc4fa9
3 changed files with 6 additions and 6 deletions

View file

@ -23,10 +23,10 @@ import java.io.IOException;
import java.io.InputStream;
import org.geometerplus.zlibrary.core.filesystem.ZLFile;
import org.geometerplus.zlibrary.core.util.ZLInputStreamWithOffset;
import org.geometerplus.zlibrary.core.util.InputStreamWithOffset;
public abstract class PdbStream extends InputStream {
protected final ZLInputStreamWithOffset myBase;
protected final InputStreamWithOffset myBase;
public PdbHeader myHeader;
protected byte[] myBuffer;
@ -34,7 +34,7 @@ public abstract class PdbStream extends InputStream {
protected short myBufferOffset;
public PdbStream(ZLFile file) throws IOException {
myBase = new ZLInputStreamWithOffset(file.getInputStream());
myBase = new InputStreamWithOffset(file.getInputStream());
myHeader = new PdbHeader(myBase);

View file

@ -22,11 +22,11 @@ package org.geometerplus.zlibrary.core.util;
import java.io.IOException;
import java.io.InputStream;
public class ZLInputStreamWithOffset extends InputStream {
public class InputStreamWithOffset extends InputStream {
private final InputStream myDecoratedStream;
private int myOffset = 0;
public ZLInputStreamWithOffset(InputStream stream) {
public InputStreamWithOffset(InputStream stream) {
myDecoratedStream = stream;
}

View file

@ -22,7 +22,7 @@ package org.geometerplus.zlibrary.core.util;
import java.io.IOException;
import java.io.InputStream;
public class SliceInputStream extends ZLInputStreamWithOffset {
public class SliceInputStream extends InputStreamWithOffset {
private final int myStart;
private final int myLength;