com.ptc.wvs.client.beans
Class AnnSet

java.lang.Object
  extended bycom.ptc.wvs.client.beans.AnnSet

public class AnnSet
extends Object

Decodes a ProductView Annotation Set.



Supported API: false

Extendable: false


Field Summary
private  String author
           
private  String comments
           
private  String email
           
private  String EMK4_MAGIC_NUMBER
           
private  int ipos
           
private static String javaencoding
           
private  String name
           
private static WVSProperties properties
           
private  String target
           
private  String telephone
           
private static boolean VERBOSE
           
 
Constructor Summary
AnnSet()
           
 
Method Summary
 String getAuthor()
          Returns the Author decoded from loaded Annotation Set

Supported API: false
 String getComments()
          Returns the Comments decoded from loaded Annotation Set

Supported API: false
 String getEmail()
          Returns the Email address decoded from loaded Annotation Set

Supported API: false
 String getName()
          Returns the Name decoded from loaded Annotation Set

Supported API: false
 String getTarget()
          Returns the Target decoded from loaded Annotation Set

Supported API: false
 String getTelephone()
          Returns the Telephone number decoded from loaded Annotation Set

Supported API: false
 boolean load(byte[] data)
          Decode an Annotation Set file in the form of a byte array

Supported API: false
 boolean load(String data)
          Decode an Annotation Set file in the form of a String

Supported API: false
 boolean load(StringBuffer bufferData)
          Decode an Annotation Set file in the form of a StringBuffer

Supported API: false
 boolean loadFile(String inFile)
          Load and decode an Annotation Set file

Supported API: false
private  String readString(StringBuffer bufferData)
          Retrieves the next set of Strings from the annotation set

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMK4_MAGIC_NUMBER

private String EMK4_MAGIC_NUMBER

target

private String target

name

private String name

author

private String author

telephone

private String telephone

email

private String email

comments

private String comments

ipos

private int ipos

properties

private static WVSProperties properties

javaencoding

private static String javaencoding

VERBOSE

private static boolean VERBOSE
Constructor Detail

AnnSet

public AnnSet()
Method Detail

loadFile

public boolean loadFile(String inFile)
                 throws UnsupportedEncodingException
Load and decode an Annotation Set file

Supported API: false

Parameters:
inFile - The name of the file
Returns:
boolean True if successfully decoded
Throws:
UnsupportedEncodingException

load

public boolean load(byte[] data)
             throws UnsupportedEncodingException
Decode an Annotation Set file in the form of a byte array

Supported API: false

Parameters:
data - The Annotation Set data
Returns:
boolean True if successfully decoded
Throws:
UnsupportedEncodingException

load

public boolean load(String data)
             throws UnsupportedEncodingException
Decode an Annotation Set file in the form of a String

Supported API: false

Parameters:
data - The Annotation Set data
Returns:
boolean True if successfully decoded
Throws:
UnsupportedEncodingException

load

public boolean load(StringBuffer bufferData)
             throws UnsupportedEncodingException
Decode an Annotation Set file in the form of a StringBuffer

Supported API: false

Returns:
boolean True if successfully decoded
Throws:
UnsupportedEncodingException

getTarget

public String getTarget()
Returns the Target decoded from loaded Annotation Set

Supported API: false

Returns:
String The Target

getName

public String getName()
Returns the Name decoded from loaded Annotation Set

Supported API: false

Returns:
String The Name

getAuthor

public String getAuthor()
Returns the Author decoded from loaded Annotation Set

Supported API: false

Returns:
String The Author

getTelephone

public String getTelephone()
Returns the Telephone number decoded from loaded Annotation Set

Supported API: false

Returns:
String The Telephone number

getEmail

public String getEmail()
Returns the Email address decoded from loaded Annotation Set

Supported API: false

Returns:
String The Email address

getComments

public String getComments()
Returns the Comments decoded from loaded Annotation Set

Supported API: false

Returns:
String The Comments

readString

private String readString(StringBuffer bufferData)
Retrieves the next set of Strings from the annotation set

Supported API: false

Returns:
String The next set of data