[Yanel-dev] Enhancing the ModifieableV2 interface

Michael Wechner michael.wechner at wyona.com
Fri Jan 23 10:44:43 CET 2009


Hi

In order to check if an "adapter/editor" is able to handle a 
ModifiableV2 resource I think it would be necessary that the 
ModifiabelV2 interface has methods such as

getContentType() (or getMimeType())

and

getEncoding()

WDYT?

The above methods are fine for reading, but what about writing in case 
the "adapter/editor" is changing for whatever reason the content/mime 
type or encoding. Hence I guess it would also be necessary to provide 
methods such as

setContentType(String type)

and

setEncoding(String encoding)

WDYT?

Thanks

Michi


More information about the Yanel-development mailing list