|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface used to read and write descriptors into Input and Output streams.
Method Summary | |
ClassDescriptor |
deserializeClass(java.io.InputStream input)
Read a ClassDescriptor from an input stream. |
java.lang.String |
getResourceName(java.lang.String classname)
Get the name of resource the metadata is stored in for specified class. |
void |
writeDescriptor(java.io.File baseDir,
ClassDescriptor descriptor)
Write a ClassDescriptor to a file relative to specified base directory. |
Method Detail |
public ClassDescriptor deserializeClass(java.io.InputStream input) throws java.lang.Exception
input
- the input stream
java.lang.Exception
- if unable ot read class descriptorpublic java.lang.String getResourceName(java.lang.String classname)
classname
- the name of class
public void writeDescriptor(java.io.File baseDir, ClassDescriptor descriptor) throws java.lang.Exception
baseDir
- the base directory to output to.descriptor
- the ClassDescriptor to write out.
java.lang.Exception
- if unable ot write class descriptor.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |