Class XBEXFileService

  • All Implemented Interfaces:
    java.io.Serializable, org.exbin.xbup.core.catalog.base.service.XBCService<org.exbin.xbup.core.catalog.base.XBCXFile>, org.exbin.xbup.core.catalog.base.service.XBCXFileService, org.exbin.xbup.core.catalog.base.XBCExtension

    @ParametersAreNonnullByDefault
    @Service
    public class XBEXFileService
    extends XBEDefaultService<org.exbin.xbup.core.catalog.base.XBCXFile>
    implements org.exbin.xbup.core.catalog.base.service.XBCXFileService, java.io.Serializable
    Interface for XBEXFile items service.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService

        itemManager
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XBEXFile findFile​(org.exbin.xbup.core.catalog.base.XBCNode node, java.lang.String fileName)  
      java.util.List<org.exbin.xbup.core.catalog.base.XBCXFile> findFilesForNode​(org.exbin.xbup.core.catalog.base.XBCNode node)  
      java.lang.String getExtensionName()  
      java.io.InputStream getFile​(org.exbin.xbup.core.catalog.base.XBCXFile file)  
      javax.swing.ImageIcon getFileAsImageIcon​(org.exbin.xbup.core.catalog.base.XBCXFile file)  
      java.lang.Long[] getFileXBPath​(org.exbin.xbup.core.catalog.base.XBCXFile file)  
      void init()  
      void initializeExtension()  
      java.io.OutputStream setFile​(org.exbin.xbup.core.catalog.base.XBCXFile file)  
      • Methods inherited from class org.exbin.xbup.core.catalog.base.service.XBCDefaultItemService

        createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.exbin.xbup.core.catalog.base.service.XBCService

        createItem, getAllItems, getItem, getItemsCount, persistItem, removeItem
    • Constructor Detail

      • XBEXFileService

        public XBEXFileService()
      • XBEXFileService

        public XBEXFileService​(XBECatalog catalog)
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • findFile

        public XBEXFile findFile​(org.exbin.xbup.core.catalog.base.XBCNode node,
                                 java.lang.String fileName)
        Specified by:
        findFile in interface org.exbin.xbup.core.catalog.base.service.XBCXFileService
      • getFile

        public java.io.InputStream getFile​(org.exbin.xbup.core.catalog.base.XBCXFile file)
        Specified by:
        getFile in interface org.exbin.xbup.core.catalog.base.service.XBCXFileService
      • getFileAsImageIcon

        public javax.swing.ImageIcon getFileAsImageIcon​(org.exbin.xbup.core.catalog.base.XBCXFile file)
        Specified by:
        getFileAsImageIcon in interface org.exbin.xbup.core.catalog.base.service.XBCXFileService
      • getFileXBPath

        public java.lang.Long[] getFileXBPath​(org.exbin.xbup.core.catalog.base.XBCXFile file)
        Specified by:
        getFileXBPath in interface org.exbin.xbup.core.catalog.base.service.XBCXFileService
      • getExtensionName

        public java.lang.String getExtensionName()
        Specified by:
        getExtensionName in interface org.exbin.xbup.core.catalog.base.XBCExtension
      • initializeExtension

        public void initializeExtension()
        Specified by:
        initializeExtension in interface org.exbin.xbup.core.catalog.base.XBCExtension
      • setFile

        public java.io.OutputStream setFile​(org.exbin.xbup.core.catalog.base.XBCXFile file)
      • findFilesForNode

        public java.util.List<org.exbin.xbup.core.catalog.base.XBCXFile> findFilesForNode​(org.exbin.xbup.core.catalog.base.XBCNode node)
        Specified by:
        findFilesForNode in interface org.exbin.xbup.core.catalog.base.service.XBCXFileService