Class TSTexture

java.lang.Object
  extended by TSTexture
All Implemented Interfaces:
java.io.Serializable

 class TSTexture
extends java.lang.Object
implements java.io.Serializable

.

======================================================================
 Class TSTexture -- Compress, decompress, read or write a texture-file
 Attention: Output is NOT supported until now!!
 ##TSTexture (Eyecatcher)
======================================================================
 


Field Summary
private  TSByteArrIO BIO
           
private  java.lang.String EMsg
           
private  java.io.File Fle
           
private static byte[] FlePfx1
           
private static byte[] FlePfx2
           
private  java.lang.String FNme
           
protected static java.lang.String IdStr
           
protected static int IN
           
private  java.io.InputStream IS
           
private  int Len
           
private  int mode
           
protected static int OB
           
protected static int OC
           
private  int rc
           
private  int rl
           
 
Constructor Summary
protected TSTexture()
          .
protected TSTexture(java.io.File dat, int iom)
          .
 
Method Summary
protected  java.lang.String close()
          .
protected  java.lang.String getErr()
          .
protected  int getStat(boolean c)
          .
protected  byte[] read()
          .
protected  java.lang.String toStr()
          .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IdStr

protected static final java.lang.String IdStr
See Also:
Constant Field Values

FlePfx1

private static final byte[] FlePfx1

FlePfx2

private static final byte[] FlePfx2

IN

protected static final int IN
See Also:
Constant Field Values

OB

protected static final int OB
See Also:
Constant Field Values

OC

protected static final int OC
See Also:
Constant Field Values

Fle

private java.io.File Fle

FNme

private java.lang.String FNme

EMsg

private java.lang.String EMsg

mode

private int mode

rc

private int rc

rl

private int rl

Len

private int Len

BIO

private TSByteArrIO BIO

IS

private java.io.InputStream IS
Constructor Detail

TSTexture

protected TSTexture()
.
=====================================================================
 Constructor: (1) Create Default-Entry
=====================================================================
  


TSTexture

protected TSTexture(java.io.File dat,
                    int iom)
.
=====================================================================
 Constructor: (2) Create Standard-Entry 
=====================================================================
  

Method Detail

close

protected final java.lang.String close()
.
=====================================================================
 Method "close"
 Close reader/writer again
 Method returns error-message or 'null'
 ##close.TSTexture (Eyecatcher)
=====================================================================
  


getErr

protected final java.lang.String getErr()
.
=====================================================================
 Method "getErr"
 Get active error-message ('null' if none)
 ##getErr.TSTexture (Eyecatcher)
=====================================================================
  


getStat

protected final int getStat(boolean c)
.
=====================================================================
 Method "getStat"
 Get statistic-values of current I/O
 Attention: values are valid even if file is already closed
            values are initialized when file is opened (again)
 ##getStat.TSFile (Eyecatcher)
=====================================================================
  


read

protected final byte[] read()
.
=====================================================================
 Method "read"
 Read whole file into buffer and return it ('null' if none)
 ##read.TSTexture (Eyecatcher)
=====================================================================
  


toStr

protected final java.lang.String toStr()
.
=====================================================================
 Method "toStr"
 Build a string-representation of all values of this class
 ##toStr.TSTexture (Eyecatcher)
=====================================================================