|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
edu.internet2.middleware.grouperClientExt.com.thoughtworks.xstream.converters.extended.FileConverter
public class FileConverter
This converter will take care of storing and retrieving File with either an absolute path OR a relative path depending on how they were created.
| Constructor Summary | |
|---|---|
FileConverter()
|
|
| Method Summary | |
|---|---|
boolean |
canConvert(Class type)
Determines whether the converter can marshall a particular type. |
Object |
fromString(String str)
Unmarshals an Object from its single value representation. |
String |
toString(Object obj)
Marshals an Object into a single value representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileConverter()
| Method Detail |
|---|
public boolean canConvert(Class type)
ConverterMatcher
canConvert in interface ConverterMatchercanConvert in class AbstractSingleValueConvertertype - the Class representing the object type to be convertedpublic Object fromString(String str)
SingleValueConverter
fromString in interface SingleValueConverterfromString in class AbstractSingleValueConverterstr - the String with the single value of the Object
public String toString(Object obj)
SingleValueConverter
toString in interface SingleValueConvertertoString in class AbstractSingleValueConverterobj - the Object to be converted
null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||