|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImportContext
ImportContext
...
Method Summary | |
---|---|
String |
getContentLanguage()
Returns the content language or null |
long |
getContentLength()
Returns the length of the data or -1 if
the content length could not be determined. |
String |
getEncoding()
Returns the encoding extracted from a content type as present in a request header or null |
Item |
getImportRoot()
Returns the import root of the resource to import, i.e. the parent node of the new content to be created. |
InputStream |
getInputStream()
Returns the input stream of the data to import or null if
there are none. |
MimeResolver |
getMimeResolver()
Return the MimeResolver defined for this import context. |
String |
getMimeType()
Returns the main media type. |
long |
getModificationTime()
Returns the modification time of the resource or the current time if the modification time has not been set. |
Object |
getProperty(Object propertyName)
|
String |
getSystemId()
Returns the system id of the resource to be imported. |
Methods inherited from interface org.apache.jackrabbit.server.io.IOContext |
---|
getIOListener, hasStream, informCompleted, isCompleted |
Method Detail |
---|
Item getImportRoot()
MimeResolver getMimeResolver()
MimeResolver
defined for this import context.
String getSystemId()
InputStream getInputStream()
null
if
there are none.
IOContext.hasStream()
long getModificationTime()
String getContentLanguage()
null
long getContentLength()
-1
if
the content length could not be determined.
String getMimeType()
null
should be returned.
String getEncoding()
null
Object getProperty(Object propertyName)
propertyName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |