public class TMLFormProcessContext.DocumentPCFile extends java.lang.Object implements TMLFormProcessContext.PCFile
Constructor and Description |
---|
TMLFormProcessContext.DocumentPCFile(de.innovationgate.webgate.api.WGDocument doc,
java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getData() |
java.io.File |
getDiskFile() |
de.innovationgate.webgate.api.WGDocument |
getDoc() |
java.lang.String |
getMd5Checksum() |
java.lang.String |
getName() |
long |
getSize() |
long |
lastModified() |
void |
openSession(javax.servlet.http.HttpServletRequest req,
WGACore core) |
public TMLFormProcessContext.DocumentPCFile(de.innovationgate.webgate.api.WGDocument doc, java.lang.String fileName)
public java.lang.String getMd5Checksum() throws de.innovationgate.webgate.api.WGAPIException
getMd5Checksum
in interface TMLFormProcessContext.PCFile
de.innovationgate.webgate.api.WGAPIException
public java.io.InputStream getData() throws java.io.IOException
getData
in interface TMLFormProcessContext.PCFile
java.io.IOException
public java.lang.String getName()
getName
in interface TMLFormProcessContext.PCFile
public java.io.File getDiskFile() throws de.innovationgate.webgate.api.WGAPIException, java.io.IOException
getDiskFile
in interface TMLFormProcessContext.PCFile
de.innovationgate.webgate.api.WGAPIException
java.io.IOException
public long getSize() throws java.io.IOException
getSize
in interface TMLFormProcessContext.PCFile
java.io.IOException
public long lastModified() throws de.innovationgate.webgate.api.WGAPIException
lastModified
in interface TMLFormProcessContext.PCFile
de.innovationgate.webgate.api.WGAPIException
public void openSession(javax.servlet.http.HttpServletRequest req, WGACore core) throws de.innovationgate.webgate.api.WGException
openSession
in interface TMLFormProcessContext.PCFile
de.innovationgate.webgate.api.WGException
public de.innovationgate.webgate.api.WGDocument getDoc()