public class XBEXFileService extends XBEDefaultService<XBEXFile> implements XBCXFileService<XBEXFile>
catalogitemManager| Constructor and Description |
|---|
XBEXFileService(XBECatalog catalog) |
| Modifier and Type | Method and Description |
|---|---|
XBEXFile |
findFile(XBCNode node,
java.lang.String fileName)
Find file by its node and filename.
|
java.lang.String |
getExtensionName()
Get some name for give extension.
|
java.io.InputStream |
getFile(XBCXFile file)
Access file as data stream.
|
javax.swing.ImageIcon |
getFileAsImageIcon(XBCXFile file)
Get file as image.
|
java.lang.Long[] |
getFileXBPath(XBCXFile file)
Returns path of XBIndexes for given node.
|
void |
initializeExtension()
Method for initializing given extension.
|
createItem, getAllItems, getItem, getItemsCount, persistItem, removeItemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateItem, getAllItems, getItem, getItemsCount, persistItem, removeItempublic XBEXFileService(XBECatalog catalog)
public XBEXFile findFile(XBCNode node, java.lang.String fileName)
XBCXFileServicefindFile in interface XBCXFileService<XBEXFile>node - parent node of the filefileName - name of the filepublic java.io.InputStream getFile(XBCXFile file)
XBCXFileServicegetFile in interface XBCXFileService<XBEXFile>file - source filepublic javax.swing.ImageIcon getFileAsImageIcon(XBCXFile file)
XBCXFileServicegetFileAsImageIcon in interface XBCXFileService<XBEXFile>file - source filepublic java.lang.Long[] getFileXBPath(XBCXFile file)
XBCXFileServicegetFileXBPath in interface XBCXFileService<XBEXFile>public java.lang.String getExtensionName()
XBCExtensiongetExtensionName in interface XBCExtensionpublic void initializeExtension()
XBCExtensioninitializeExtension in interface XBCExtension