Modifiche recenti - Cerca:

Java to PHP

edit SideBar

JavaUtilProperties

JavaDoc: http://java.sun.com/javase/6/docs/api/java/util/Properties.html

Properties getProperty?(String key) Searches for the property with the specified key in this property list.
Properties getProperty?(String key, String defaultValue) Searches for the property with the specified key in this property list.
Properties list?(PrintStream out) Prints this property list out to the specified output stream.
Properties list?(PrintWriter out) Prints this property list out to the specified output stream.
Properties load(InputStream inStream) Reads a property list (key and element pairs) from the input byte stream.
Properties load(Reader reader) Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.
Properties loadFromXML?(InputStream in) Loads all of the properties represented by the XML document on the specified input stream into this properties table.
Properties propertyNames?() Returns an enumeration of all the keys in this property list, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.
Properties save?(OutputStream out, String comments) Deprecated. This method does not throw an IOException if an I/O error occurs while saving the property list. The preferred way to save a properties list is via the store(OutputStream out, String comments) method or the storeToXML(OutputStream os, String comment) method.
Properties setProperty?(String key, String value) Calls the Hashtable method put.
Properties store?(OutputStream out, String comments) Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable for loading into a Properties table using the load(InputStream) method.
Properties store?(Writer writer, String comments) Writes this property list (key and element pairs) in this Properties table to the output character stream in a format suitable for using the load(Reader) method.
Properties storeToXML?(OutputStream os, String comment) Emits an XML document representing all of the properties contained in this table.
Properties storeToXML?(OutputStream os, String comment, String encoding) Emits an XML document representing all of the properties contained in this table, using the specified encoding.
Properties stringPropertyNames?() Returns a set of keys in this property list where the key and its corresponding value are strings, including distinct keys in the default property list if a key of the same name has not already been found from the main properties list.

Modifica - Versioni - Stampa - Modifiche recenti - Cerca
Ultima modifica il 13/01/2007 ore 01:50 MST