|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.gouv.culture.sdx.utils.SdxObjectImpl
fr.gouv.culture.sdx.document.AbstractDocument
fr.gouv.culture.sdx.document.BinaryDocument
Field Summary | |
static java.lang.String |
DEFAULT_MIMETYPE
String representation of the default mimetype for our attached documents. |
Fields inherited from class fr.gouv.culture.sdx.document.AbstractDocument |
idGenerator, idPrefix, idSuffix, mimeType, storeRepo |
Fields inherited from class fr.gouv.culture.sdx.utils.SdxObjectImpl |
encoding, logger |
Fields inherited from interface fr.gouv.culture.sdx.document.Document |
DOCTYPE_BINARY, DOCTYPE_GROUP, DOCTYPE_HTML, DOCTYPE_USER, DOCTYPE_XML |
Constructor Summary | |
BinaryDocument()
Convenience constructor for document deletion |
|
BinaryDocument(java.lang.String docId,
java.net.URL url,
java.lang.String mimetype)
Builds a Binary document and set's the necessary fields |
Method Summary | |
java.lang.String |
getDocType()
Gets the docType for the document |
Methods inherited from class fr.gouv.culture.sdx.document.AbstractDocument |
getId, getInputSource, getLength, getMimeType, getPreferredFilename, getRepositoryForStorage, getURL, openStream, save, setContent, setContent, setContent, setContent, setId, setIdGenerator, setIdGenerator, setMimeType, setPreferredFilename, setPreferredFilename, setRepositoryForStorage, setURL |
Methods inherited from class fr.gouv.culture.sdx.utils.SdxObjectImpl |
enableLogging, getChildLogger, setEncoding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.avalon.framework.logger.LogEnabled |
enableLogging |
Field Detail |
public static final java.lang.String DEFAULT_MIMETYPE
Constructor Detail |
public BinaryDocument()
public BinaryDocument(java.lang.String docId, java.net.URL url, java.lang.String mimetype) throws SDXException
docId
- The document idurl
- The url of this documentmimetype
- The mimetype String
SDXException
Method Detail |
public java.lang.String getDocType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |