public static class AbstractFileViewPanel.Leaf
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.String |
leafName |
Leaf name.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
leafProps |
Leaf property map.
|
protected java.io.InputStream |
leafStream |
Stream with the contents of the leaf file.
|
Constructor | Description |
---|---|
Leaf(java.lang.String leafName,
java.io.InputStream leafStream) |
Creates a new leaf.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getLeafName() |
Returns the leaf name.
|
java.lang.Object |
getLeafProp(java.lang.String propName) |
Returns the leaf property with the specified name.
|
java.util.Map<java.lang.String,java.lang.Object> |
getLeafProps() |
Returns the map of all the properties of this leaf.
|
java.io.InputStream |
getLeafStream() |
Returns the stream with the contents of the leaf file.
|
void |
setLeafProp(java.lang.String propName,
java.lang.Object propValue) |
Sets the leaf property with the specified name.
|
protected java.lang.String leafName
protected java.io.InputStream leafStream
protected java.util.Map<java.lang.String,java.lang.Object> leafProps
public Leaf(java.lang.String leafName, java.io.InputStream leafStream)
leafName
- Leaf name.leafStream
- Stream with the contents of the leaf file.public java.lang.String getLeafName()
public java.io.InputStream getLeafStream()
public java.lang.Object getLeafProp(java.lang.String propName)
propName
- Property name.public void setLeafProp(java.lang.String propName, java.lang.Object propValue)
propName
- Property name.propValue
- Property value.public java.util.Map<java.lang.String,java.lang.Object> getLeafProps()