Class IndexedPropertyFile


public class IndexedPropertyFile extends ItemPropertyFile
  • Field Details

  • Constructor Details

    • IndexedPropertyFile

      public IndexedPropertyFile(File dir, String storageName, String parentPath, String name) throws IOException
      Construct a new or existing PropertyFile. This constructor ignores retained property values for NAME and PARENT path. This constructor will not throw an exception if the file does not exist.
      Parameters:
      dir - parent directory
      storageName - stored property file name (without extension)
      parentPath - path to parent
      name - name of the property file
      Throws:
      InvalidObjectException - if a file parse error occurs
      IOException - if an IO error occurs reading an existing file
    • IndexedPropertyFile

      public IndexedPropertyFile(File dir, String storageName) throws IOException
      Construct a existing PropertyFile. This constructor uses property values for NAME and PARENT path.
      Parameters:
      dir - parent directory
      storageName - stored property file name (without extension)
      Throws:
      FileNotFoundException - if property file does not exist
      InvalidObjectException - if a file parse error occurs
      IOException - if error occurs reading property file
    • IndexedPropertyFile

      public IndexedPropertyFile(File file) throws IOException
      Construct a existing PropertyFile. This constructor uses property values for NAME and PARENT path.
      Parameters:
      file - property file
      Throws:
      FileNotFoundException - if property file does not exist
      InvalidObjectException - if a file parse error occurs
      IOException - if error occurs reading property file
  • Method Details