Answers a new, initialized instance of the receiver on the file specified by the absolute or relative path aPathName (String).Determines which locales are supported by localized messages stored in the file specified by the receiver's path. Answers a collection of all locale names for which the catalog file specified by path has mappings including locale names starting with the "$" character whose names are not returned by the messageIdentifiers protocol. Answers nil if an error occurs.Answers an array of compatibility arrays, nil if no compatibility arrays can be located. Each compatibility array has the following form:Unloads anArrayOfcompatibilityArrays into the file represented by the receiver. The format of the argument anArrayOfcompatibilityArrays is described in the compatibilities method comment. Answers true on success, otherwise answers false.Compresses the file represented by the receiver removing any dead areas. If compressToMinimumSize is true, the file is made its smallest possible size. If compressToMinimumSize is false, padding is included in the new file so that future writes might not need to grow the file. Answers true if successful, otherwise answers falseAnswers the object(s) that caused the last error that occurred. This can be a single object or an array of objects. Refer to List of error codes.Loads the localized messages stored in the receiver at the key specified by the language, territory, and character set (strings). Declares keys in the specified pool dictionary if they are missing. The values of newly declared keys are the same as the key to allow identification of missing translations. Answers true on success, otherwise answers false.Deletes the external message dictionary for the locale specified by the language, territory, and character set (strings) from the catalog file specified by the receiver's file name. Answers true if the external dictionary message is successfully removed, otherwise answers false.Deletes the indexed message specified by the index for the locale specified by the language, territory, and character set (strings) from the catalog file specified by the receiver's file name. Answers true if the localized message was successfully removed, otherwise answers false.Deletes all messages for the locale specified by the language, territory, and character set (strings) from the catalog file specified by the receiver's file name. Answers true if the messages are successfully removed, otherwise answers false.Answers a String that is the fileName of the message catalog file represented by the receiver. The fileName is the string passed as an parameter to the on: method.Sets the fileName of the message catalog file represented by the receiver to the specified string.Determines which locales are supported by localized messages stored in the file specified by the receiver's path. Answers a collection of the supported locale names, in which the locale names start with a "$" character. These names are not returned by the messageIdentifiers protocol. Answers nil if an error occurs.Localizes the specified EsPoolDictionary using message for the locale specified by the language, territory, and character set (strings). Modifies the association in the pool dictionary with localized messages contained in the file specified by path. Answers true if successful, otherwise answers false.If the message catalog file contains messages for the specified language, territory, and character set, the compatibilities are not examined and an array containing the specified the language, territory, and character set is returned. Otherwise the matching process examines each line of the compatibilities array (whose format is described in the compatibilities method comment). Within a line of the compatibilities, array patterns are examined from left to right. If no match is found on a given line, the search continues to the following lines until a match is found or no more lines are available. A match occurs if the three elements of the pattern array match language, territory, and character set.Answers a three-element array consisting of strings that identify the language, territory, and character set. Answers nil if an error occurs or if no compatibility matches the supplied arguments.Answers the object platform from which the message catalog file specified by the receiver's path was dumped. Answers a string indicating the object platform, or nil if an error occurs.Answers a string that contains the full path name of the message catalog file represented by the receiver (nil if the full path has not yet been computed).Determines whether the specified file contains localized messages for the locale specified by the string's language, territory, and character set. Answers true if the locale is supported, false if unsupported, or nil if an error occurs.Stores the localized messages contained in the specified pool dictionary for the locale defined by the language, territory, and character set in the file specified by the receiver's fileName. Answers true if successful, otherwise answers false.Stores the given localized message as an indexed message in a file specified by the receiver's fileName, for the locale defined by the language, territory, and character set, and the positive integer index. Answers true if successful, otherwise answers false.Creates a file resourcePath that can be used as input to the Windows resource compiler. This method converts the contents of the specified pool dictionary into numbered messages in the input file, storing the mapping as a series of define statements, and annotates this input file with comments contained in the specified comment dictionary. Answers true if successful, otherwise answers false.Creates a file resourcePath that can be used as input to the Windows resource compiler. This method converts the contents of the specified pool dictionary into numbered messages in the input file storing the mapping as a series of define statements. Answers true if successful, otherwise answers false.Parses the specified input file of the Windows resource compiler and answers a dictionary that contains the pool key-numeric mappings stored in the define statements of the input file. Answers nil if an error occurs.
|