Class OleBlob.Builder
- java.lang.Object
-
- com.healthmarketscience.jackcess.util.OleBlob.Builder
-
-
Field Summary
Fields Modifier and Type Field Description static StringPACKAGE_PRETTY_NAMEstatic StringPACKAGE_TYPE_NAME
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Field Detail
-
PACKAGE_PRETTY_NAME
public static final String PACKAGE_PRETTY_NAME
- See Also:
- Constant Field Values
-
PACKAGE_TYPE_NAME
public static final String PACKAGE_TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public OleBlob.ContentType getType()
-
getBytes
public byte[] getBytes()
-
getStream
public InputStream getStream()
-
getContentLength
public long getContentLength()
-
getFileName
public String getFileName()
-
getFilePath
public String getFilePath()
-
getPrettyName
public String getPrettyName()
-
getClassName
public String getClassName()
-
getTypeName
public String getTypeName()
-
setSimplePackageBytes
public OleBlob.Builder setSimplePackageBytes(byte[] bytes)
-
setSimplePackageStream
public OleBlob.Builder setSimplePackageStream(InputStream in, long length)
-
setSimplePackageFileName
public OleBlob.Builder setSimplePackageFileName(String fileName)
-
setSimplePackageFilePath
public OleBlob.Builder setSimplePackageFilePath(String filePath)
-
setSimplePackage
public OleBlob.Builder setSimplePackage(File f) throws IOException
- Throws:
IOException
-
setLinkFileName
public OleBlob.Builder setLinkFileName(String fileName)
-
setLinkPath
public OleBlob.Builder setLinkPath(String link)
-
setLink
public OleBlob.Builder setLink(File f)
-
setOtherBytes
public OleBlob.Builder setOtherBytes(byte[] bytes)
-
setOtherStream
public OleBlob.Builder setOtherStream(InputStream in, long length)
-
setOther
public OleBlob.Builder setOther(File f) throws IOException
- Throws:
IOException
-
setPackagePrettyName
public OleBlob.Builder setPackagePrettyName(String prettyName)
-
setPackageClassName
public OleBlob.Builder setPackageClassName(String className)
-
setPackageTypeName
public OleBlob.Builder setPackageTypeName(String typeName)
-
toBlob
public OleBlob toBlob() throws IOException
- Throws:
IOException
-
fromInternalData
public static OleBlob fromInternalData(byte[] bytes)
-
-