Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.services.util

Class UnicodeProperties

com.gentleware.services.util.UnicodeProperties

public class UnicodeProperties



 Inner Classifier Summary
public   UnicodeProperties.Entry
 
arrow_up
 

 Attribute Summary
private static String  KEY_TERMINATING_CHARS
 
private static String  SPECIAL_SAVE_CHARS
 
private static String  STRICT_KEY_VALUE_SEPARATOR_CHARS
 
private static String  WHITE_SPACE_CHARS
 
private String  _comment
 
private List  _entries
 
private Map  _key2Entry
 
arrow_up
 

 Association Summary
private UnicodeProperties  _defaults
 
private UnicodeEncoding  _encoding
 
public UnicodeProperties  unicodeProperties
 
public UnicodeResourceBundle  unicodeResourceBundle
 
arrow_up
 

 Constructor Summary
public   UnicodeProperties()
 
public   UnicodeProperties(File file)
 
public   UnicodeProperties(String charsetName, File file)
 
public   UnicodeProperties(InputStream inputStream)
 
public   UnicodeProperties(String charsetName, InputStream inputStream)
 
public   UnicodeProperties(UnicodeProperties defaults)
 
arrow_up
 

 Method Summary
public UnicodeProperties.Entry   addEntry(String comment, String key, String value)
 
private void   checkKey(String key)
 
public boolean   equals(Object obj)
 
private String   escape(String text, boolean escapeSpace)
 
public String   getComment()
 
public String   getComment(String key)
 
public UnicodeProperties.Entry   getEntry(String key)
 
public UnicodeProperties.Entry   getEntry(int index)
 
public int   getEntryCount()
 
public List   getKeys()
 
public String   getProperty(String key)
 
public String   getProperty(String key, String defaultValue)
 
private void   handleError(String message)
 
public int   hashCode()
 
private boolean   isLineContinued(String line)
 
public void   load(String charsetName, File file)
 
public void   load(String charsetName, InputStream inputStream)
 
public void   setComment(String comment)
 
public void   setDefaults(UnicodeProperties defaults)
 
public void   setProperty(String key, String value)
 
public void   setProperty(String comment, String key, String value)
 
public void   store(File file)
 
public void   store(File file, boolean sortByKeys)
 
public void   store(File file, boolean sortByKeys, UnicodeEncoding encoding)
 
public void   store(OutputStream outputStream)
 
public void   store(OutputStream outputStream, boolean sortByKeys)
 
public void   store(OutputStream outputStream, boolean sortByKeys, UnicodeEncoding encoding)
 
private void   writeComment(BufferedWriter bufferedWriter, String comment)
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 12
gentleware-imported-package-statement-line-number 5
 

 Inner Classifier Detail

UnicodeProperties.Entry

public  UnicodeProperties.Entry

arrow_up
 Attribute Detail

KEY_TERMINATING_CHARS

private static String KEY_TERMINATING_CHARS

arrow_up


SPECIAL_SAVE_CHARS

private static String SPECIAL_SAVE_CHARS

arrow_up


STRICT_KEY_VALUE_SEPARATOR_CHARS

private static String STRICT_KEY_VALUE_SEPARATOR_CHARS

arrow_up


WHITE_SPACE_CHARS

private static String WHITE_SPACE_CHARS

arrow_up


_comment

private String _comment

arrow_up


_entries

private List _entries

arrow_up


_key2Entry

private Map _key2Entry

arrow_up
 Association Detail

_defaults

private UnicodeProperties _defaults

arrow_up


_encoding

private UnicodeEncoding _encoding

arrow_up


unicodeProperties

public UnicodeProperties unicodeProperties

arrow_up


unicodeResourceBundle

public UnicodeResourceBundle unicodeResourceBundle

arrow_up
 Constructor Detail

UnicodeProperties

public com.gentleware.services.util.UnicodeProperties UnicodeProperties()

Returns:
arrow_up


UnicodeProperties

public com.gentleware.services.util.UnicodeProperties UnicodeProperties(File file)

Parameters:
file -
Returns:
arrow_up


UnicodeProperties

public com.gentleware.services.util.UnicodeProperties UnicodeProperties(String charsetName, File file)

Parameters:
charsetName -
file -
Returns:
arrow_up


UnicodeProperties

public com.gentleware.services.util.UnicodeProperties UnicodeProperties(InputStream inputStream)

Parameters:
inputStream -
Returns:
arrow_up


UnicodeProperties

public com.gentleware.services.util.UnicodeProperties UnicodeProperties(String charsetName, InputStream inputStream)

Parameters:
charsetName -
inputStream -
Returns:
arrow_up


UnicodeProperties

public com.gentleware.services.util.UnicodeProperties UnicodeProperties(UnicodeProperties defaults)

Parameters:
defaults -
Returns:
arrow_up
 Method Detail

addEntry

public UnicodeProperties.Entry addEntry(String comment, String key, String value)

Parameters:
comment -
key -
value -
Returns:
arrow_up


checkKey

private void checkKey(String key)

Parameters:
key -
arrow_up


equals

public boolean equals(Object obj)

Parameters:
obj -
Returns:
arrow_up


escape

private String escape(String text, boolean escapeSpace)

Parameters:
text -
escapeSpace -
Returns:
arrow_up


getComment

public String getComment()

Returns:
arrow_up


getComment

public String getComment(String key)

Parameters:
key -
Returns:
arrow_up


getEntry

public UnicodeProperties.Entry getEntry(String key)

Parameters:
key -
Returns:
arrow_up


getEntry

public UnicodeProperties.Entry getEntry(int index)

Parameters:
index -
Returns:
arrow_up


getEntryCount

public int getEntryCount()

Returns:
arrow_up


getKeys

public List getKeys()

Returns:
arrow_up


getProperty

public String getProperty(String key)

Parameters:
key -
Returns:
arrow_up


getProperty

public String getProperty(String key, String defaultValue)

Parameters:
key -
defaultValue -
Returns:
arrow_up


handleError

private void handleError(String message)

Parameters:
message -
arrow_up


hashCode

public int hashCode()

Returns:
arrow_up


isLineContinued

private boolean isLineContinued(String line)

Parameters:
line -
Returns:
arrow_up


load

public void load(String charsetName, File file)

Parameters:
charsetName -
file -
arrow_up


load

public void load(String charsetName, InputStream inputStream)

Parameters:
charsetName -
inputStream -
arrow_up


setComment

public void setComment(String comment)

Parameters:
comment -
arrow_up


setDefaults

public void setDefaults(UnicodeProperties defaults)

Parameters:
defaults -
arrow_up


setProperty

public void setProperty(String key, String value)

Parameters:
key -
value -
arrow_up


setProperty

public void setProperty(String comment, String key, String value)

Parameters:
comment -
key -
value -
arrow_up


store

public void store(File file)

Parameters:
file -
arrow_up


store

public void store(File file, boolean sortByKeys)

Parameters:
file -
sortByKeys -
arrow_up


store

public void store(File file, boolean sortByKeys, UnicodeEncoding encoding)

Parameters:
file -
sortByKeys -
encoding -
arrow_up


store

public void store(OutputStream outputStream)

Parameters:
outputStream -
arrow_up


store

public void store(OutputStream outputStream, boolean sortByKeys)

Parameters:
outputStream -
sortByKeys -
arrow_up


store

public void store(OutputStream outputStream, boolean sortByKeys, UnicodeEncoding encoding)

Parameters:
outputStream -
sortByKeys -
encoding -
arrow_up


writeComment

private void writeComment(BufferedWriter bufferedWriter, String comment)

Parameters:
bufferedWriter -
comment -
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.