com.jme3.export
Interface InputCapsule

All Known Implementing Classes:
DOMInputCapsule

public interface InputCapsule


Method Summary
 int getSavableVersion(java.lang.Class<? extends Savable> clazz)
           
 java.util.BitSet readBitSet(java.lang.String name, java.util.BitSet defVal)
           
 boolean readBoolean(java.lang.String name, boolean defVal)
           
 boolean[] readBooleanArray(java.lang.String name, boolean[] defVal)
           
 boolean[][] readBooleanArray2D(java.lang.String name, boolean[][] defVal)
           
 byte readByte(java.lang.String name, byte defVal)
           
 byte[] readByteArray(java.lang.String name, byte[] defVal)
           
 byte[][] readByteArray2D(java.lang.String name, byte[][] defVal)
           
 java.nio.ByteBuffer readByteBuffer(java.lang.String name, java.nio.ByteBuffer defVal)
           
 java.util.ArrayList<java.nio.ByteBuffer> readByteBufferArrayList(java.lang.String name, java.util.ArrayList<java.nio.ByteBuffer> defVal)
           
 double readDouble(java.lang.String name, double defVal)
           
 double[] readDoubleArray(java.lang.String name, double[] defVal)
           
 double[][] readDoubleArray2D(java.lang.String name, double[][] defVal)
           
<T extends java.lang.Enum<T>>
T
readEnum(java.lang.String name, java.lang.Class<T> enumType, T defVal)
           
 float readFloat(java.lang.String name, float defVal)
           
 float[] readFloatArray(java.lang.String name, float[] defVal)
           
 float[][] readFloatArray2D(java.lang.String name, float[][] defVal)
           
 java.nio.FloatBuffer readFloatBuffer(java.lang.String name, java.nio.FloatBuffer defVal)
           
 java.util.ArrayList<java.nio.FloatBuffer> readFloatBufferArrayList(java.lang.String name, java.util.ArrayList<java.nio.FloatBuffer> defVal)
           
 int readInt(java.lang.String name, int defVal)
           
 int[] readIntArray(java.lang.String name, int[] defVal)
           
 int[][] readIntArray2D(java.lang.String name, int[][] defVal)
           
 java.nio.IntBuffer readIntBuffer(java.lang.String name, java.nio.IntBuffer defVal)
           
 IntMap<? extends Savable> readIntSavableMap(java.lang.String name, IntMap<? extends Savable> defVal)
           
 long readLong(java.lang.String name, long defVal)
           
 long[] readLongArray(java.lang.String name, long[] defVal)
           
 long[][] readLongArray2D(java.lang.String name, long[][] defVal)
           
 Savable readSavable(java.lang.String name, Savable defVal)
           
 Savable[] readSavableArray(java.lang.String name, Savable[] defVal)
           
 Savable[][] readSavableArray2D(java.lang.String name, Savable[][] defVal)
           
 java.util.ArrayList readSavableArrayList(java.lang.String name, java.util.ArrayList defVal)
           
 java.util.ArrayList[] readSavableArrayListArray(java.lang.String name, java.util.ArrayList[] defVal)
           
 java.util.ArrayList[][] readSavableArrayListArray2D(java.lang.String name, java.util.ArrayList[][] defVal)
           
 java.util.Map<? extends Savable,? extends Savable> readSavableMap(java.lang.String name, java.util.Map<? extends Savable,? extends Savable> defVal)
           
 short readShort(java.lang.String name, short defVal)
           
 short[] readShortArray(java.lang.String name, short[] defVal)
           
 short[][] readShortArray2D(java.lang.String name, short[][] defVal)
           
 java.nio.ShortBuffer readShortBuffer(java.lang.String name, java.nio.ShortBuffer defVal)
           
 java.lang.String readString(java.lang.String name, java.lang.String defVal)
           
 java.lang.String[] readStringArray(java.lang.String name, java.lang.String[] defVal)
           
 java.lang.String[][] readStringArray2D(java.lang.String name, java.lang.String[][] defVal)
           
 java.util.Map<java.lang.String,? extends Savable> readStringSavableMap(java.lang.String name, java.util.Map<java.lang.String,? extends Savable> defVal)
           
 

Method Detail

getSavableVersion

int getSavableVersion(java.lang.Class<? extends Savable> clazz)

readByte

byte readByte(java.lang.String name,
              byte defVal)
              throws java.io.IOException
Throws:
java.io.IOException

readByteArray

byte[] readByteArray(java.lang.String name,
                     byte[] defVal)
                     throws java.io.IOException
Throws:
java.io.IOException

readByteArray2D

byte[][] readByteArray2D(java.lang.String name,
                         byte[][] defVal)
                         throws java.io.IOException
Throws:
java.io.IOException

readInt

int readInt(java.lang.String name,
            int defVal)
            throws java.io.IOException
Throws:
java.io.IOException

readIntArray

int[] readIntArray(java.lang.String name,
                   int[] defVal)
                   throws java.io.IOException
Throws:
java.io.IOException

readIntArray2D

int[][] readIntArray2D(java.lang.String name,
                       int[][] defVal)
                       throws java.io.IOException
Throws:
java.io.IOException

readFloat

float readFloat(java.lang.String name,
                float defVal)
                throws java.io.IOException
Throws:
java.io.IOException

readFloatArray

float[] readFloatArray(java.lang.String name,
                       float[] defVal)
                       throws java.io.IOException
Throws:
java.io.IOException

readFloatArray2D

float[][] readFloatArray2D(java.lang.String name,
                           float[][] defVal)
                           throws java.io.IOException
Throws:
java.io.IOException

readDouble

double readDouble(java.lang.String name,
                  double defVal)
                  throws java.io.IOException
Throws:
java.io.IOException

readDoubleArray

double[] readDoubleArray(java.lang.String name,
                         double[] defVal)
                         throws java.io.IOException
Throws:
java.io.IOException

readDoubleArray2D

double[][] readDoubleArray2D(java.lang.String name,
                             double[][] defVal)
                             throws java.io.IOException
Throws:
java.io.IOException

readLong

long readLong(java.lang.String name,
              long defVal)
              throws java.io.IOException
Throws:
java.io.IOException

readLongArray

long[] readLongArray(java.lang.String name,
                     long[] defVal)
                     throws java.io.IOException
Throws:
java.io.IOException

readLongArray2D

long[][] readLongArray2D(java.lang.String name,
                         long[][] defVal)
                         throws java.io.IOException
Throws:
java.io.IOException

readShort

short readShort(java.lang.String name,
                short defVal)
                throws java.io.IOException
Throws:
java.io.IOException

readShortArray

short[] readShortArray(java.lang.String name,
                       short[] defVal)
                       throws java.io.IOException
Throws:
java.io.IOException

readShortArray2D

short[][] readShortArray2D(java.lang.String name,
                           short[][] defVal)
                           throws java.io.IOException
Throws:
java.io.IOException

readBoolean

boolean readBoolean(java.lang.String name,
                    boolean defVal)
                    throws java.io.IOException
Throws:
java.io.IOException

readBooleanArray

boolean[] readBooleanArray(java.lang.String name,
                           boolean[] defVal)
                           throws java.io.IOException
Throws:
java.io.IOException

readBooleanArray2D

boolean[][] readBooleanArray2D(java.lang.String name,
                               boolean[][] defVal)
                               throws java.io.IOException
Throws:
java.io.IOException

readString

java.lang.String readString(java.lang.String name,
                            java.lang.String defVal)
                            throws java.io.IOException
Throws:
java.io.IOException

readStringArray

java.lang.String[] readStringArray(java.lang.String name,
                                   java.lang.String[] defVal)
                                   throws java.io.IOException
Throws:
java.io.IOException

readStringArray2D

java.lang.String[][] readStringArray2D(java.lang.String name,
                                       java.lang.String[][] defVal)
                                       throws java.io.IOException
Throws:
java.io.IOException

readBitSet

java.util.BitSet readBitSet(java.lang.String name,
                            java.util.BitSet defVal)
                            throws java.io.IOException
Throws:
java.io.IOException

readSavable

Savable readSavable(java.lang.String name,
                    Savable defVal)
                    throws java.io.IOException
Throws:
java.io.IOException

readSavableArray

Savable[] readSavableArray(java.lang.String name,
                           Savable[] defVal)
                           throws java.io.IOException
Throws:
java.io.IOException

readSavableArray2D

Savable[][] readSavableArray2D(java.lang.String name,
                               Savable[][] defVal)
                               throws java.io.IOException
Throws:
java.io.IOException

readSavableArrayList

java.util.ArrayList readSavableArrayList(java.lang.String name,
                                         java.util.ArrayList defVal)
                                         throws java.io.IOException
Throws:
java.io.IOException

readSavableArrayListArray

java.util.ArrayList[] readSavableArrayListArray(java.lang.String name,
                                                java.util.ArrayList[] defVal)
                                                throws java.io.IOException
Throws:
java.io.IOException

readSavableArrayListArray2D

java.util.ArrayList[][] readSavableArrayListArray2D(java.lang.String name,
                                                    java.util.ArrayList[][] defVal)
                                                    throws java.io.IOException
Throws:
java.io.IOException

readFloatBufferArrayList

java.util.ArrayList<java.nio.FloatBuffer> readFloatBufferArrayList(java.lang.String name,
                                                                   java.util.ArrayList<java.nio.FloatBuffer> defVal)
                                                                   throws java.io.IOException
Throws:
java.io.IOException

readByteBufferArrayList

java.util.ArrayList<java.nio.ByteBuffer> readByteBufferArrayList(java.lang.String name,
                                                                 java.util.ArrayList<java.nio.ByteBuffer> defVal)
                                                                 throws java.io.IOException
Throws:
java.io.IOException

readSavableMap

java.util.Map<? extends Savable,? extends Savable> readSavableMap(java.lang.String name,
                                                                  java.util.Map<? extends Savable,? extends Savable> defVal)
                                                                  throws java.io.IOException
Throws:
java.io.IOException

readStringSavableMap

java.util.Map<java.lang.String,? extends Savable> readStringSavableMap(java.lang.String name,
                                                                       java.util.Map<java.lang.String,? extends Savable> defVal)
                                                                       throws java.io.IOException
Throws:
java.io.IOException

readIntSavableMap

IntMap<? extends Savable> readIntSavableMap(java.lang.String name,
                                            IntMap<? extends Savable> defVal)
                                            throws java.io.IOException
Throws:
java.io.IOException

readFloatBuffer

java.nio.FloatBuffer readFloatBuffer(java.lang.String name,
                                     java.nio.FloatBuffer defVal)
                                     throws java.io.IOException
Throws:
java.io.IOException

readIntBuffer

java.nio.IntBuffer readIntBuffer(java.lang.String name,
                                 java.nio.IntBuffer defVal)
                                 throws java.io.IOException
Throws:
java.io.IOException

readByteBuffer

java.nio.ByteBuffer readByteBuffer(java.lang.String name,
                                   java.nio.ByteBuffer defVal)
                                   throws java.io.IOException
Throws:
java.io.IOException

readShortBuffer

java.nio.ShortBuffer readShortBuffer(java.lang.String name,
                                     java.nio.ShortBuffer defVal)
                                     throws java.io.IOException
Throws:
java.io.IOException

readEnum

<T extends java.lang.Enum<T>> T readEnum(java.lang.String name,
                                         java.lang.Class<T> enumType,
                                         T defVal)
                                     throws java.io.IOException
Throws:
java.io.IOException