Modifier and Type | Field and Description |
---|---|
static String |
PACKAGE_PRETTY_NAME |
static String |
PACKAGE_TYPE_NAME |
Constructor and Description |
---|
Builder() |
public static final String PACKAGE_PRETTY_NAME
public static final String PACKAGE_TYPE_NAME
public OleBlob.ContentType getType()
public byte[] getBytes()
public InputStream getStream()
public long getContentLength()
public String getFileName()
public String getFilePath()
public String getPrettyName()
public String getClassName()
public String getTypeName()
public OleBlob.Builder setSimplePackageBytes(byte[] bytes)
public OleBlob.Builder setSimplePackageStream(InputStream in, long length)
public OleBlob.Builder setSimplePackageFileName(String fileName)
public OleBlob.Builder setSimplePackageFilePath(String filePath)
public OleBlob.Builder setSimplePackage(File f) throws FileNotFoundException
FileNotFoundException
public OleBlob.Builder setLinkFileName(String fileName)
public OleBlob.Builder setLinkPath(String link)
public OleBlob.Builder setLink(File f)
public OleBlob.Builder setOtherBytes(byte[] bytes)
public OleBlob.Builder setOtherStream(InputStream in, long length)
public OleBlob.Builder setOther(File f) throws FileNotFoundException
FileNotFoundException
public OleBlob.Builder setPackagePrettyName(String prettyName)
public OleBlob.Builder setPackageClassName(String className)
public OleBlob.Builder setPackageTypeName(String typeName)
public OleBlob toBlob() throws IOException
IOException
public static OleBlob fromInternalData(byte[] bytes) throws IOException
IOException
Copyright © 2005–2024 OpenHMS. All rights reserved.