Package com.jme3.export
Interface InputCapsule
- All Known Implementing Classes:
DOMInputCapsule
public interface InputCapsule
-
Method Summary
Modifier and TypeMethodDescriptionint
getSavableVersion
(Class<? extends Savable> clazz) readBitSet
(String name, BitSet defVal) boolean
readBoolean
(String name, boolean defVal) boolean[]
readBooleanArray
(String name, boolean[] defVal) boolean[][]
readBooleanArray2D
(String name, boolean[][] defVal) byte
byte[]
readByteArray
(String name, byte[] defVal) byte[][]
readByteArray2D
(String name, byte[][] defVal) readByteBuffer
(String name, ByteBuffer defVal) readByteBufferArrayList
(String name, ArrayList<ByteBuffer> defVal) double
readDouble
(String name, double defVal) double[]
readDoubleArray
(String name, double[] defVal) double[][]
readDoubleArray2D
(String name, double[][] defVal) <T extends Enum<T>>
Tfloat
float[]
readFloatArray
(String name, float[] defVal) float[][]
readFloatArray2D
(String name, float[][] defVal) readFloatBuffer
(String name, FloatBuffer defVal) readFloatBufferArrayList
(String name, ArrayList<FloatBuffer> defVal) int
int[]
readIntArray
(String name, int[] defVal) int[][]
readIntArray2D
(String name, int[][] defVal) readIntBuffer
(String name, IntBuffer defVal) readIntSavableMap
(String name, IntMap<? extends Savable> defVal) long
long[]
readLongArray
(String name, long[] defVal) long[][]
readLongArray2D
(String name, long[][] defVal) readSavable
(String name, Savable defVal) Savable[]
readSavableArray
(String name, Savable[] defVal) Savable[][]
readSavableArray2D
(String name, Savable[][] defVal) readSavableArrayList
(String name, ArrayList defVal) readSavableArrayListArray
(String name, ArrayList[] defVal) ArrayList[][]
readSavableArrayListArray2D
(String name, ArrayList[][] defVal) readSavableMap
(String name, Map<? extends Savable, ? extends Savable> defVal) short
short[]
readShortArray
(String name, short[] defVal) short[][]
readShortArray2D
(String name, short[][] defVal) readShortBuffer
(String name, ShortBuffer defVal) readString
(String name, String defVal) String[]
readStringArray
(String name, String[] defVal) String[][]
readStringArray2D
(String name, String[][] defVal) readStringSavableMap
(String name, Map<String, ? extends Savable> defVal)
-
Method Details
-
getSavableVersion
-
readByte
- Throws:
IOException
-
readByteArray
- Throws:
IOException
-
readByteArray2D
- Throws:
IOException
-
readInt
- Throws:
IOException
-
readIntArray
- Throws:
IOException
-
readIntArray2D
- Throws:
IOException
-
readFloat
- Throws:
IOException
-
readFloatArray
- Throws:
IOException
-
readFloatArray2D
- Throws:
IOException
-
readDouble
- Throws:
IOException
-
readDoubleArray
- Throws:
IOException
-
readDoubleArray2D
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readLongArray
- Throws:
IOException
-
readLongArray2D
- Throws:
IOException
-
readShort
- Throws:
IOException
-
readShortArray
- Throws:
IOException
-
readShortArray2D
- Throws:
IOException
-
readBoolean
- Throws:
IOException
-
readBooleanArray
- Throws:
IOException
-
readBooleanArray2D
- Throws:
IOException
-
readString
- Throws:
IOException
-
readStringArray
- Throws:
IOException
-
readStringArray2D
- Throws:
IOException
-
readBitSet
- Throws:
IOException
-
readSavable
- Throws:
IOException
-
readSavableArray
- Throws:
IOException
-
readSavableArray2D
- Throws:
IOException
-
readSavableArrayList
- Throws:
IOException
-
readSavableArrayListArray
- Throws:
IOException
-
readSavableArrayListArray2D
- Throws:
IOException
-
readFloatBufferArrayList
ArrayList<FloatBuffer> readFloatBufferArrayList(String name, ArrayList<FloatBuffer> defVal) throws IOException - Throws:
IOException
-
readByteBufferArrayList
ArrayList<ByteBuffer> readByteBufferArrayList(String name, ArrayList<ByteBuffer> defVal) throws IOException - Throws:
IOException
-
readSavableMap
Map<? extends Savable,? extends Savable> readSavableMap(String name, Map<? extends Savable, ? extends Savable> defVal) throws IOException- Throws:
IOException
-
readStringSavableMap
Map<String,? extends Savable> readStringSavableMap(String name, Map<String, ? extends Savable> defVal) throws IOException- Throws:
IOException
-
readIntSavableMap
IntMap<? extends Savable> readIntSavableMap(String name, IntMap<? extends Savable> defVal) throws IOException - Throws:
IOException
-
readFloatBuffer
- Throws:
IOException
-
readIntBuffer
- Throws:
IOException
-
readByteBuffer
- Throws:
IOException
-
readShortBuffer
- Throws:
IOException
-
readEnum
- Throws:
IOException
-