public class ModfileInputStream extends RandomAccessInputStreamImpl
buffer, bufferLength, localFile, mark, raFile, readPointer, tmpFile| Constructor and Description |
|---|
ModfileInputStream(File file)
Constructor for ModfileInputStream
|
ModfileInputStream(String fileName)
Constructor for ModfileInputStream
|
ModfileInputStream(URL fromUrl)
Constructor for ModfileInputStream
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName() |
int |
readByteAsInt() |
int |
readIntelDWord() |
int |
readIntelWord() |
int |
readMotorolaDWord() |
int |
readMotorolaWord() |
String |
readString(int strLength) |
available, close, getFile, getFilePointer, getLength, length, mark, markSupported, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, reset, seek, skip, skipBytespublic ModfileInputStream(File file) throws FileNotFoundException, IOException
file - FileNotFoundExceptionIOExceptionpublic ModfileInputStream(String fileName) throws FileNotFoundException, IOException
fileName - FileNotFoundExceptionIOExceptionpublic ModfileInputStream(URL fromUrl) throws IOException, FileNotFoundException, MalformedURLException
fromUrl - IOExceptionFileNotFoundExceptionMalformedURLExceptionpublic String getFileName()
public String readString(int strLength) throws IOException
strLength - IOExceptionpublic int readByteAsInt()
throws IOException
IOExceptionpublic int readMotorolaWord()
throws IOException
IOExceptionpublic int readIntelWord()
throws IOException
IOExceptionpublic int readMotorolaDWord()
throws IOException
IOExceptionpublic int readIntelDWord()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.