Class XBEXFile

  • All Implemented Interfaces:
    java.io.Serializable, XBMBase, XBMXFile, org.exbin.xbup.core.catalog.base.XBCBase, org.exbin.xbup.core.catalog.base.XBCXFile

    @ParametersAreNonnullByDefault
    public class XBEXFile
    extends java.lang.Object
    implements XBMXFile, java.io.Serializable
    Item assesory file database entity.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XBEXFile()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getContent()  
      java.lang.String getFilename()  
      long getId()  
      org.exbin.xbup.core.catalog.base.XBCNode getNode()  
      void setContent​(byte[] content)
      Sets content of the file.
      void setFilename​(java.lang.String filename)
      Sets name of the file.
      void setNode​(org.exbin.xbup.core.catalog.base.XBCNode node)
      Sets owner which is directory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XBEXFile

        public XBEXFile()
    • Method Detail

      • getId

        public long getId()
        Specified by:
        getId in interface org.exbin.xbup.core.catalog.base.XBCBase
      • getNode

        @Nonnull
        public org.exbin.xbup.core.catalog.base.XBCNode getNode()
        Specified by:
        getNode in interface org.exbin.xbup.core.catalog.base.XBCXFile
      • setNode

        public void setNode​(org.exbin.xbup.core.catalog.base.XBCNode node)
        Description copied from interface: XBMXFile
        Sets owner which is directory.
        Specified by:
        setNode in interface XBMXFile
        Parameters:
        node - node
      • getFilename

        @Nonnull
        public java.lang.String getFilename()
        Specified by:
        getFilename in interface org.exbin.xbup.core.catalog.base.XBCXFile
      • setFilename

        public void setFilename​(java.lang.String filename)
        Description copied from interface: XBMXFile
        Sets name of the file.
        Specified by:
        setFilename in interface XBMXFile
        Parameters:
        filename - file name
      • getContent

        @Nonnull
        public byte[] getContent()
        Specified by:
        getContent in interface org.exbin.xbup.core.catalog.base.XBCXFile
      • setContent

        public void setContent​(byte[] content)
        Description copied from interface: XBMXFile
        Sets content of the file.
        Specified by:
        setContent in interface XBMXFile
        Parameters:
        content - content