Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jdaemon.util.formats
Class QuotedFormat  view QuotedFormat download QuotedFormat.java

java.lang.Object
  extended byjava.text.Format
      extended byorg.jdaemon.util.formats.QuotedFormat
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class QuotedFormat
extends java.text.Format


Nested Class Summary
 
Nested classes inherited from class java.text.Format
java.text.Format.Field
 
Field Summary
(package private)  char escape_char
           
(package private)  char quote_char
           
 
Fields inherited from class java.text.Format
 
Constructor Summary
QuotedFormat(char quote_char, char escape_char)
          Creates a new instance of QuotedFormat
 
Method Summary
 java.lang.StringBuffer format(java.lang.Object obj, java.lang.StringBuffer stringBuffer, java.text.FieldPosition fieldPosition)
          This method formats an Object into a String and appends the String to a StringBuffer.
 java.lang.Object parseObject(java.lang.String str, java.text.ParsePosition parsePosition)
          This method parses a String and converts the parsed contents into an Object.
(package private)  int parseString(int from, java.lang.String str, java.lang.StringBuffer buffer)
           
 
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

quote_char

char quote_char

escape_char

char escape_char
Constructor Detail

QuotedFormat

public QuotedFormat(char quote_char,
                    char escape_char)
Creates a new instance of QuotedFormat

Method Detail

format

public java.lang.StringBuffer format(java.lang.Object obj,
                                     java.lang.StringBuffer stringBuffer,
                                     java.text.FieldPosition fieldPosition)
Description copied from class: java.text.Format
This method formats an Object into a String and appends the String to a StringBuffer.


parseString

int parseString(int from,
                java.lang.String str,
                java.lang.StringBuffer buffer)
          throws java.text.ParseException

parseObject

public java.lang.Object parseObject(java.lang.String str,
                                    java.text.ParsePosition parsePosition)
Description copied from class: java.text.Format
This method parses a String and converts the parsed contents into an Object.