- java.lang.Object
-
- tvbrowser.core.icontheme.IconTheme
-
- tvbrowser.core.icontheme.DirectoryIconTheme
-
-
Constructor Summary
Constructors Constructor Description DirectoryIconTheme(java.io.File iconDir)
Create the Directory Icon Theme
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
entryExists(java.lang.String entry)
Tests if an Entry exists in the Icon-Themeprotected javax.swing.ImageIcon
getImageFromTheme(java.lang.String image)
Get an Image from the Icon-Themeprotected java.io.InputStream
getInputStream(java.lang.String entry)
Get an InputStream from the Icon-Theme.
-
-
-
Method Detail
-
getInputStream
protected java.io.InputStream getInputStream(java.lang.String entry)
Get an InputStream from the Icon-Theme.- Specified by:
getInputStream
in classIconTheme
- Parameters:
entry
- File/Entry to load- Returns:
- InputStream of specific Entry
-
entryExists
protected boolean entryExists(java.lang.String entry)
Tests if an Entry exists in the Icon-Theme- Specified by:
entryExists
in classIconTheme
- Parameters:
entry
- check for this Entry- Returns:
- True, if the Entry exists
-
getImageFromTheme
protected javax.swing.ImageIcon getImageFromTheme(java.lang.String image)
Get an Image from the Icon-Theme- Specified by:
getImageFromTheme
in classIconTheme
- Parameters:
image
- get this Image- Returns:
- Image
-
-