Class ImageObject

    • Field Detail

      • key

        public final String key
      • file

        public final File file
    • Method Detail

      • clearTable

        public static void clearTable()
      • obtainImageObjectPlain

        public static ImageObject obtainImageObjectPlain​(File dir,
                                                         String plainPath,
                                                         boolean allowMissing)
        Retrieves the ImageObject for a specified path from the master table. If necessary, tries to add that object (and all other objects listed in the properties file in that directory) to the master table.
        Parameters:
        dir - If provided, plainPath is understood as being relative to it.
      • obtainImageObjectPlain

        public static ImageObject obtainImageObjectPlain​(File f)
      • obtainImageObjectPlain

        public static ImageObject obtainImageObjectPlain​(File f,
                                                         boolean allowMissing)
        Parameters:
        allowMissing - If true, simply return null, rather than throw exception, when the file is not listed in the prop file
      • listProperties

        public String listProperties()
      • symbol

        public String symbol()
        For use in ASCII graphics