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