EDMLocalStream
edm.edom3
Interface EDMLocalStream
All Superinterfaces:EDMContextDependent, EDMData
All Known Subinterfaces:EDMFileMapping
public interface EDMLocalStream extends EDMData
Copyright(C) EPM Technology AS.Version:3.0Author:Arne Toen - EPM Technology AS.
Method Summary
All Methods Instance Methods Abstract MethodsÂ
Modifier and Type Method and Description int
getCompressionType()
Get compression typejava.io.File
getFile()
Get a File object for the local stream if applicableint
getFileFormat()
Retrieve file formatjava.io.InputStream
getInputStream()
Get stream for piping from EDM to user program.java.io.OutputStream
getOutputStream()
Get stream for piping from user program to EDM.long
getRealPrecision()
Get real precisionjava.lang.String
getXMLEncoding()
Get encoding for XMLboolean
isInputToEDM()
Finds if stream is input to EDM or output from EDMvoid
setCompressionType(int ctype)
Get compression typevoid
setFileFormat(int s)
Set file formatvoid
setRealPrecision(long s)
Set real precisionvoid
setXMLEncoding(java.lang.String s)
Set encoding for XMLMethods inherited from interface edm.edom3.EDMData
exists, getInstanceId, getName, getOwner, isLocal, isRemote
Methods inherited from interface edm.edom3.EDMContextDependent
getContext
Method Detail
getCompressionType
int getCompressionType()
Get compression typeReturns:compression typeSee Also:EDMConstants.CompressionTypes
setCompressionType
void setCompressionType(int ctype)
Get compression typeParameters:ctype - compression typeSee Also:EDMConstants.CompressionTypes
getFileFormat
int getFileFormat()
Retrieve file formatReturns:file formatSee Also:EDMConstants.FileFormats
setFileFormat
void setFileFormat(int s)
Set file formatParameters:s - file formatSee Also:EDMConstants.FileFormats
getXMLEncoding
java.lang.String getXMLEncoding()
Get encoding for XMLReturns:encoding name, null if none
setXMLEncoding
void setXMLEncoding(java.lang.String s)
Set encoding for XMLParameters:s - encoding name, null if none
getRealPrecision
long getRealPrecision()
Get real precisionReturns:real precision
setRealPrecision
void setRealPrecision(long s)
Set real precisionParameters:s - real precision
getFile
java.io.File getFile()
Get a File object for the local stream if applicableReturns:thre wrapped file, null of not applicable
getInputStream
java.io.InputStream getInputStream() throws EdmiException, java.io.IOException
Get stream for piping from EDM to user program.Returns:input stream for user applicationThrows:java.io.IOException - if no input stream available for this EDMStreamEdmiException - if other error
getOutputStream
java.io.OutputStream getOutputStream() throws EdmiException, java.io.IOException
Get stream for piping from user program to EDM.Returns:output stream for user applicationThrows:java.io.IOException - if no input stream available for this EDMStreamEdmiException - if other error
isInputToEDM
boolean isInputToEDM()
Finds if stream is input to EDM or output from EDMReturns:true if stream is input to EDM