java.lang.Object
com.lowagie.text.utils.LongMappedByteBuffer
Deprecated.
A utility class that allows random access to files larger than 2GB by internally
mapping them into multiple
MappedByteBuffer chunks of up to 2GB each.- Since:
- 2.0.4
-
Constructor Summary
ConstructorsConstructorDescriptionLongMappedByteBuffer(FileChannel channel, FileChannel.MapMode mode) Deprecated.Constructs a new LongMappedByteBuffer by chunk-mapping the file channel. -
Method Summary
Modifier and TypeMethodDescriptionvoidforce()Deprecated.byteget()Deprecated.voidget(byte[] dst, int off, int len) Deprecated.byteget(long pos) Deprecated.voidget(long pos, byte[] dst, int off, int len) Deprecated.booleanisLoaded()Deprecated.longlimit()Deprecated.load()Deprecated.longposition()Deprecated.position(long newPosition) Deprecated.voidput(byte value) Deprecated.voidput(byte[] src, int off, int len) Deprecated.voidput(long pos, byte value) Deprecated.intread(byte[] bytes, int off, int len) Deprecated.longsize()Deprecated.
-
Constructor Details
-
LongMappedByteBuffer
Deprecated.Constructs a new LongMappedByteBuffer by chunk-mapping the file channel.- Throws:
IOException
-
-
Method Details
-
get
public byte get()Deprecated. -
get
public byte get(long pos) Deprecated. -
get
public void get(long pos, byte[] dst, int off, int len) Deprecated. -
get
public void get(byte[] dst, int off, int len) Deprecated. -
put
public void put(byte value) Deprecated. -
put
public void put(long pos, byte value) Deprecated. -
put
public void put(byte[] src, int off, int len) Deprecated. -
read
public int read(byte[] bytes, int off, int len) Deprecated. -
position
public long position()Deprecated. -
position
Deprecated. -
size
public long size()Deprecated. -
limit
public long limit()Deprecated. -
load
Deprecated. -
isLoaded
public boolean isLoaded()Deprecated. -
force
public void force()Deprecated.
-