Type - public interface FormatWriter<Type>
| Modifier and Type | Method and Description |
|---|---|
String |
getDestinationMimetype()
Gets the mimetype to convert to
|
Class<? extends Type> |
getSourceClass()
Gets the source Java class to convert from
|
void |
write(Type object,
OutputStream output)
Converts Java object to mimetype
|
void |
write(Type object,
Writer output)
Converts Java object to mimetype
|
Class<? extends Type> getSourceClass()
String getDestinationMimetype()
void write(Type object, Writer output)
object - Typeoutput - Writervoid write(Type object, OutputStream output)
object - Typeoutput - OutputStreamCopyright © 2005–2015 Alfresco Software. All rights reserved.