Interface ISextanteDataObject

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      This method closes the data object, which was opened using the open() method.
      Object getBaseDataObject()
      Returns the base data object (i.e.
      String getFilename()
      Returns the filename associated to this data object.
      String getName()
      Returns the name of this data object
      void open()
      This methods initialize the data object, so it is ready to be accessed
      void postProcess()
      This method post-processes the object after it has been created.
      void setName​(String sName)
      Sets a new name for this object
    • Method Detail

      • getBaseDataObject

        Object getBaseDataObject()
        Returns the base data object (i.e. the object that this class wraps, which contains the data itself)
        Returns:
        the base data object
      • getName

        String getName()
        Returns the name of this data object
        Returns:
        the name of this data object
      • setName

        void setName​(String sName)
        Sets a new name for this object
        Parameters:
        sName - the new name
      • getFilename

        String getFilename()
        Returns the filename associated to this data object.
        Returns:
        the filename associated to this data object. Can be null, since the object wrapped by this class doesn't have to be file-based.
      • postProcess

        void postProcess()
                  throws Exception
        This method post-processes the object after it has been created. If, for instance, data are kept in memory before they are dumped to file, this method should write that file.
        Throws:
        Exception - if an Exception occurs during post-processing
      • open

        void open()
        This methods initialize the data object, so it is ready to be accessed
      • close

        void close()
        This method closes the data object, which was opened using the open() method.