net.aerith.misao.image.io
Class Sbig.Header
java.lang.Object
|
+--net.aerith.misao.image.io.Sbig.Header
- Enclosing class:
- Sbig
- protected class Sbig.Header
- extends java.lang.Object
The Header
is a set of the hash table of SBIG
header keys and the flag whether if the image is compressed or
not.
Field Summary |
protected boolean |
compressed
True if the image is compressed. |
protected java.util.Properties |
properties
The hash table of SBIG header keys. |
Constructor Summary |
Sbig.Header(java.util.Properties properties)
Constructs a Header . |
Method Summary |
java.lang.String |
getProperty(java.lang.String key)
Gets the value of the specified key. |
boolean |
isCompressed()
Returns if the image is compressed or not. |
void |
setCompressed()
Set the flag as the image is compressed. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
properties
protected java.util.Properties properties
- The hash table of SBIG header keys.
compressed
protected boolean compressed
- True if the image is compressed.
Sbig.Header
public Sbig.Header(java.util.Properties properties)
- Constructs a
Header
.
- Parameters:
properties
- the hash table of SBIG header keys.
setCompressed
public void setCompressed()
- Set the flag as the image is compressed.
isCompressed
public boolean isCompressed()
- Returns if the image is compressed or not.
- Returns:
- true if the image is compressed.
getProperty
public java.lang.String getProperty(java.lang.String key)
- Gets the value of the specified key.
- Parameters:
key
- the key.- Returns:
- the value of the specified key.