com.jme3.util
クラス LittleEndien
java.lang.Object
java.io.InputStream
com.jme3.util.LittleEndien
- すべての実装されたインタフェース:
- java.io.Closeable, java.io.DataInput
public class LittleEndien
- extends java.io.InputStream
- implements java.io.DataInput
LittleEndien
is a class to read littleendien stored data
via a InputStream. All functions work as defined in DataInput, but
assume they come from a LittleEndien input stream. Currently used to read .ms3d and .3ds files.
コンストラクタの概要 |
LittleEndien(java.io.InputStream in)
Creates a new LittleEndien reader from the given input stream. |
クラス java.io.InputStream から継承されたメソッド |
mark, markSupported, reset, skip |
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LittleEndien
public LittleEndien(java.io.InputStream in)
- Creates a new LittleEndien reader from the given input stream. The
stream is wrapped in a BufferedReader automatically.
- パラメータ:
in
- The input stream to read from.
read
public int read()
throws java.io.IOException
- 定義:
- クラス
java.io.InputStream
内の read
- 例外:
java.io.IOException
read
public int read(byte[] buf)
throws java.io.IOException
- オーバーライド:
- クラス
java.io.InputStream
内の read
- 例外:
java.io.IOException
read
public int read(byte[] buf,
int off,
int len)
throws java.io.IOException
- オーバーライド:
- クラス
java.io.InputStream
内の read
- 例外:
java.io.IOException
readUnsignedShort
public int readUnsignedShort()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readUnsignedShort
- 例外:
java.io.IOException
readUInt
public long readUInt()
throws java.io.IOException
- read an unsigned int as a long
- 例外:
java.io.IOException
readBoolean
public boolean readBoolean()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readBoolean
- 例外:
java.io.IOException
readByte
public byte readByte()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readByte
- 例外:
java.io.IOException
readUnsignedByte
public int readUnsignedByte()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readUnsignedByte
- 例外:
java.io.IOException
readShort
public short readShort()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readShort
- 例外:
java.io.IOException
readChar
public char readChar()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readChar
- 例外:
java.io.IOException
readInt
public int readInt()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readInt
- 例外:
java.io.IOException
readLong
public long readLong()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readLong
- 例外:
java.io.IOException
readFloat
public float readFloat()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readFloat
- 例外:
java.io.IOException
readDouble
public double readDouble()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readDouble
- 例外:
java.io.IOException
readFully
public void readFully(byte[] b)
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readFully
- 例外:
java.io.IOException
readFully
public void readFully(byte[] b,
int off,
int len)
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readFully
- 例外:
java.io.IOException
skipBytes
public int skipBytes(int n)
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の skipBytes
- 例外:
java.io.IOException
readLine
public java.lang.String readLine()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readLine
- 例外:
java.io.IOException
readUTF
public java.lang.String readUTF()
throws java.io.IOException
- 定義:
- インタフェース
java.io.DataInput
内の readUTF
- 例外:
java.io.IOException
close
public void close()
throws java.io.IOException
- 定義:
- インタフェース
java.io.Closeable
内の close
- オーバーライド:
- クラス
java.io.InputStream
内の close
- 例外:
java.io.IOException
available
public int available()
throws java.io.IOException
- オーバーライド:
- クラス
java.io.InputStream
内の available
- 例外:
java.io.IOException