Class AbstractFileViewPanel.Leaf
- java.lang.Object
-
- org.pushingpixels.radiance.component.api.common.AbstractFileViewPanel.Leaf
-
- Enclosing class:
- AbstractFileViewPanel<T>
public static class AbstractFileViewPanel.Leaf extends java.lang.Object
Information on the specific file. Depending on the actual type of the file repository, the property map will have different keys.
-
-
Field Summary
Fields 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 Summary
Constructors Constructor Description Leaf(java.lang.String leafName, java.io.InputStream leafStream)
Creates a new leaf.
-
Method Summary
All Methods Instance Methods Concrete Methods 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.io.InputStream
getLeafStream()
Returns the stream with the contents of the leaf file.
-
-
-
Method Detail
-
getLeafName
public java.lang.String getLeafName()
Returns the leaf name.- Returns:
- Leaf name.
-
getLeafStream
public java.io.InputStream getLeafStream()
Returns the stream with the contents of the leaf file.- Returns:
- Stream with the contents of the leaf file.
-
getLeafProp
public java.lang.Object getLeafProp(java.lang.String propName)
Returns the leaf property with the specified name.- Parameters:
propName
- Property name.- Returns:
- Leaf property with the specified name.
-
-