|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.protocolhandler.embedded.EmbeddedUpload
public class EmbeddedUpload
Read a document from a (input)stream and write it into database.
Constructor Summary | |
---|---|
EmbeddedUpload()
|
Method Summary | |
---|---|
void |
stream(XmldbURL xmldbURL,
File tmp)
Read document and write data to database. |
void |
stream(XmldbURL xmldbURL,
File tmp,
User user)
Read document and write data to database. |
void |
stream(XmldbURL xmldbURL,
InputStream is)
Read document from stream and write data to database. |
void |
stream(XmldbURL xmldbURL,
InputStream is,
User user)
Read document from stream and write data to database with specified user. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedUpload()
Method Detail |
---|
public void stream(XmldbURL xmldbURL, InputStream is) throws IOException
xmldbURL
- Location in database.is
- Stream containing document.
IOException
public void stream(XmldbURL xmldbURL, InputStream is, User user) throws IOException
user
- Effective user for operation. If NULL the user information
is distilled from the URL.xmldbURL
- Location in database.is
- Stream containing document.
IOException
public void stream(XmldbURL xmldbURL, File tmp) throws IOException
xmldbURL
- Location in database.tmp
- Document that is inserted.
IOException
public void stream(XmldbURL xmldbURL, File tmp, User user) throws IOException
user
- Effective user for operation. If NULL the user information
is distilled from the URL.xmldbURL
- Location in database.tmp
- Document that is inserted.
IOException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |