Class BigByteBuffer

java.lang.Object
org.gvsig.utils.bigfile.BigByteBuffer

public class BigByteBuffer extends Object
Author:
Fjp Clase para trabajar con ficheros grandes. Mapea solo un trozo de fichero en memoria, y cuando intentas acceder fuera de esa zona, se ocupa de leer automáticamente el trozo que le falta.
  • Constructor Details

  • Method Details

    • get

      public byte get()
    • get

      public ByteBuffer get(byte[] dst)
    • getChar

      public char getChar()
    • getDouble

      public double getDouble()
    • getFloat

      public float getFloat()
    • getInt

      public int getInt()
    • getLong

      public long getLong()
    • getShort

      public short getShort()
    • isDirect

      public boolean isDirect()
    • get

      public byte get(int index)
    • getChar

      public char getChar(int index)
    • getDouble

      public double getDouble(int index)
    • getFloat

      public float getFloat(int index)
    • getInt

      public int getInt(int index)
    • getLong

      public long getLong(int index)
    • getShort

      public short getShort(int index)
    • asReadOnlyBuffer

      public ByteBuffer asReadOnlyBuffer()
    • compact

      public ByteBuffer compact()
    • duplicate

      public ByteBuffer duplicate()
    • slice

      public ByteBuffer slice()
    • put

      public ByteBuffer put(byte b)
    • putChar

      public ByteBuffer putChar(char value)
    • putDouble

      public ByteBuffer putDouble(double value)
    • putFloat

      public ByteBuffer putFloat(float value)
    • putInt

      public ByteBuffer putInt(int value)
    • put

      public ByteBuffer put(int index, byte b)
    • putChar

      public ByteBuffer putChar(int index, char value)
    • putDouble

      public ByteBuffer putDouble(int index, double value)
    • putFloat

      public ByteBuffer putFloat(int index, float value)
    • putInt

      public ByteBuffer putInt(int index, int value)
    • putLong

      public ByteBuffer putLong(int index, long value)
    • putShort

      public ByteBuffer putShort(int index, short value)
    • putLong

      public ByteBuffer putLong(long value)
    • putShort

      public ByteBuffer putShort(short value)
    • asCharBuffer

      public CharBuffer asCharBuffer()
    • asDoubleBuffer

      public DoubleBuffer asDoubleBuffer()
    • asFloatBuffer

      public FloatBuffer asFloatBuffer()
    • asIntBuffer

      public IntBuffer asIntBuffer()
    • asLongBuffer

      public LongBuffer asLongBuffer()
    • asShortBuffer

      public ShortBuffer asShortBuffer()
    • isReadOnly

      public boolean isReadOnly()
    • order

      public final ByteOrder order()
    • order

      public final ByteBuffer order(ByteOrder bo)
    • position

      public final long position()
    • position

      public final Buffer position(long newPosition)