src.backend
クラス MapWriter

java.lang.Object
  上位を拡張 src.backend.MapWriter
直系の既知のサブクラス:
PhysicsWriter

public class MapWriter
extends java.lang.Object


コンストラクタの概要
MapWriter(java.lang.String inFileString)
           
 
メソッドの概要
 void adjust(int len)
           
 void close()
           
 long generateChecksum(int len, int trailer_len)
           
 long getBytesChecked()
           
 long getBytesToCheck()
           
 boolean getFileLoaded()
           
 long getFilePointer()
           
 MacBinaryHeader getMacBinaryHeader()
           
 java.io.RandomAccessFile getReadFile()
           
 void incrementBytesChecked()
           
 boolean isMacBinary()
           
 boolean isValidMapFile()
           
 long length()
           
 void newRF(java.lang.String path, MapData md)
           
static void pErr(java.lang.Exception e)
           
 void read(byte[] data)
           
 byte readByte()
           
 int readInt()
           
 long readLong()
           
 short readShort()
           
 int readUnsignedShort()
           
 void resetBytesChecked()
           
 void seek(long l)
           
 void setBytesToCheck(long bytes)
           
 void setFileSize(MapData md)
           
 void setLength(long length)
           
 void skipBytes(int i)
           
 void write(byte[] data)
           
 void writeByte(byte b)
           
 void writeByte(char c)
           
 void writeByte(int i)
           
 void writeInt(int i)
           
 void writeLong(long l)
           
 void writeMacBinary()
           
 void writeShort(short s)
           
 void zeroMap()
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MapWriter

public MapWriter(java.lang.String inFileString)
メソッドの詳細

read

public void read(byte[] data)

write

public void write(byte[] data)

close

public void close()

newRF

public void newRF(java.lang.String path,
                  MapData md)

setFileSize

public void setFileSize(MapData md)

getBytesChecked

public long getBytesChecked()

incrementBytesChecked

public void incrementBytesChecked()

resetBytesChecked

public void resetBytesChecked()

setBytesToCheck

public void setBytesToCheck(long bytes)

getBytesToCheck

public long getBytesToCheck()

generateChecksum

public long generateChecksum(int len,
                             int trailer_len)

getReadFile

public java.io.RandomAccessFile getReadFile()

getFileLoaded

public boolean getFileLoaded()

writeByte

public void writeByte(byte b)

writeByte

public void writeByte(char c)

writeByte

public void writeByte(int i)

writeShort

public void writeShort(short s)

writeInt

public void writeInt(int i)

writeLong

public void writeLong(long l)

readByte

public byte readByte()

readShort

public short readShort()

readUnsignedShort

public int readUnsignedShort()

readInt

public int readInt()

readLong

public long readLong()

skipBytes

public void skipBytes(int i)

seek

public void seek(long l)

getFilePointer

public long getFilePointer()

length

public long length()

setLength

public void setLength(long length)

adjust

public void adjust(int len)

pErr

public static void pErr(java.lang.Exception e)

getMacBinaryHeader

public MacBinaryHeader getMacBinaryHeader()

isMacBinary

public boolean isMacBinary()

isValidMapFile

public boolean isValidMapFile()

writeMacBinary

public void writeMacBinary()

zeroMap

public void zeroMap()