Package com.logicaldoc.webdav.context
Class ImportContextImpl
java.lang.Object
com.logicaldoc.webdav.context.ImportContextImpl
- All Implemented Interfaces:
ImportContext
,org.apache.jackrabbit.server.io.IOContext
For more informations, please visit
ImportContextImpl
- Author:
- Sebastian Wenzky
-
Constructor Summary
ConstructorDescriptionImportContextImpl
(Resource resource, String systemId, InputStream in) ImportContextImpl
(Resource resource, String systemId, org.apache.jackrabbit.webdav.io.InputContext inputCtx) -
Method Summary
Modifier and TypeMethodDescriptionlong
org.apache.jackrabbit.server.io.IOListener
long
getProperty
(Object propertyName) boolean
void
informCompleted
(boolean success) boolean
void
setInputFile
(File inputFile) void
setSystemId
(String newResourceName)
-
Constructor Details
-
ImportContextImpl
public ImportContextImpl(Resource resource, String systemId, org.apache.jackrabbit.webdav.io.InputContext inputCtx) throws IOException - Throws:
IOException
-
ImportContextImpl
- Throws:
IOException
-
-
Method Details
-
getIOListener
public org.apache.jackrabbit.server.io.IOListener getIOListener()- Specified by:
getIOListener
in interfaceorg.apache.jackrabbit.server.io.IOContext
-
hasStream
public boolean hasStream()- Specified by:
hasStream
in interfaceorg.apache.jackrabbit.server.io.IOContext
-
getInputStream
- Specified by:
getInputStream
in interfaceImportContext
-
getSystemId
- Specified by:
getSystemId
in interfaceImportContext
-
getModificationTime
public long getModificationTime()- Specified by:
getModificationTime
in interfaceImportContext
-
getContentLanguage
- Specified by:
getContentLanguage
in interfaceImportContext
-
getContentLength
public long getContentLength()- Specified by:
getContentLength
in interfaceImportContext
-
getMimeType
- Specified by:
getMimeType
in interfaceImportContext
-
getEncoding
- Specified by:
getEncoding
in interfaceImportContext
-
getProperty
- Specified by:
getProperty
in interfaceImportContext
-
informCompleted
public void informCompleted(boolean success) - Specified by:
informCompleted
in interfaceorg.apache.jackrabbit.server.io.IOContext
-
isCompleted
public boolean isCompleted()- Specified by:
isCompleted
in interfaceorg.apache.jackrabbit.server.io.IOContext
-
getResource
- Specified by:
getResource
in interfaceImportContext
-
setSystemId
-
setInputFile
-