|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
All classes capable of compressing a field must implement this interface
| Method Summary | |
boolean |
canSupport(int fieldType,
int method)
Can this fieldCompressor support this compression method |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
boolean data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
boolean[] data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
double data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
double[] data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
double[][] data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
float data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
float[] data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
float[][] data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
int data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
int[] data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
long data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
long[] data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
java.lang.String data)
Compress this field and deposit the output to the bitstream |
void |
compress(java.io.DataOutputStream dos,
int fieldType,
java.lang.String[] data)
Compress this field and deposit the output to the bitstream |
| Method Detail |
public boolean canSupport(int fieldType,
int method)
fieldType - What type of field, defined in FieldConstants.method - What method of compression. 0-127 defined by Web3D Consortium.
public void compress(java.io.DataOutputStream dos,
int fieldType,
int data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
int[] data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
boolean data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
boolean[] data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
float data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
float[] data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
float[][] data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
long data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
long[] data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
double data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
double[] data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
double[][] data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
java.lang.String data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
public void compress(java.io.DataOutputStream dos,
int fieldType,
java.lang.String[] data)
throws java.io.IOException
dos - The stream to output the resultfieldType - The type of field to compress from FieldConstants.data - The field data
java.io.IOException
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||