|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfki.util.xmlrpc.converters.FileConverter
public class FileConverter
Converter for File
s.
Constructor Summary | |
---|---|
FileConverter()
|
Method Summary | |
---|---|
java.io.File |
createFrom(java.lang.String xmlRpcRepresentation)
Creates an instance of parameter type T. |
XmlRpc.Type |
getXmlRpcRepresentationType()
|
java.lang.String |
toXmlRpc(java.io.File param)
Transforms a parameter into it's XML-RPC 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 XmlRpc.Type getXmlRpcRepresentationType()
getXmlRpcRepresentationType
in interface ParameterConverter<java.io.File,java.lang.String>
public java.io.File createFrom(java.lang.String xmlRpcRepresentation) throws TypeConversionException
ParameterConverter
createFrom
in interface ParameterConverter<java.io.File,java.lang.String>
xmlRpcRepresentation
- The structure transfered via XML-RPC.
null
.
TypeConversionException
public java.lang.String toXmlRpc(java.io.File param) throws TypeConversionException
ParameterConverter
toXmlRpc
in interface ParameterConverter<java.io.File,java.lang.String>
param
- The parameter to convert. May be null
.
null
).
TypeConversionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |