Class InvalidPropertyFile


public class InvalidPropertyFile extends ItemPropertyFile
InvalidPropertyFile provides a substitue ItemPropertyFile when one fails to parse. This allows the item's existance to be managed even if the item cannot be opened.
  • Constructor Details

    • InvalidPropertyFile

      public InvalidPropertyFile(File dir, String storageName, String parentPath, String name) throws IOException
      Construct an invalid property file instance if it previously failed to parse.
      Parameters:
      dir - native directory where this file is stored
      storageName - stored property file name (without extension)
      parentPath - logical parent path for the associated item
      name - name of the associated item
      Throws:
      IOException - (never thrown since file is never read)
  • Method Details

    • readState

      public final void readState()
      Description copied from class: PropertyFile
      Read in this PropertyFile into a SaveState object.
      Overrides:
      readState in class PropertyFile