public class XBRXFileService extends XBRDefaultService<XBRXFile> implements XBCXFileService<XBRXFile>
catalogitemManager| Constructor and Description |
|---|
XBRXFileService(XBRCatalog catalog) |
| Modifier and Type | Method and Description |
|---|---|
XBRXFile |
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 XBRXFileService(XBRCatalog catalog)
public XBRXFile findFile(XBCNode node, java.lang.String fileName)
XBCXFileServicefindFile in interface XBCXFileService<XBRXFile>node - parent node of the filefileName - name of the filepublic java.io.InputStream getFile(XBCXFile file)
XBCXFileServicegetFile in interface XBCXFileService<XBRXFile>file - source filepublic javax.swing.ImageIcon getFileAsImageIcon(XBCXFile file)
XBCXFileServicegetFileAsImageIcon in interface XBCXFileService<XBRXFile>file - source filepublic java.lang.Long[] getFileXBPath(XBCXFile file)
XBCXFileServicegetFileXBPath in interface XBCXFileService<XBRXFile>public java.lang.String getExtensionName()
XBCExtensiongetExtensionName in interface XBCExtensionpublic void initializeExtension()
XBCExtensioninitializeExtension in interface XBCExtension