APIdia Launch Partner
Top Description Inners Fields Constructors Methods
io.github.spannm.jackcess.impl

public final Class OleUtil

extends Object
Class Inheritance
Annotations
@SuppressWarnings:PMD.FieldDeclarationsShouldBeAtStartOfClass
Imports
io.github.spannm.jackcess.DataType, .JackcessRuntimeException, io.github.spannm.jackcess.util.OleBlob, .OleBlob.Content, .OleBlob.ContentType, .OleBlob.EmbeddedContent, .OleBlob.LinkContent, .OleBlob.OtherContent, .OleBlob.PackageContent, .OleBlob.SimplePackageContent, .ToStringBuilder, java.io.ByteArrayInputStream, .Closeable, .FileInputStream, .IOException, .InputStream, .OutputStream, java.nio.ByteBuffer, java.nio.charset.Charset, .StandardCharsets, java.sql.Blob, .SQLException, .SQLFeatureNotSupportedException, java.text.Normalizer, java.util.EnumSet, .Set, java.util.logging.Level, .Logger, java.util.regex.Pattern

Utility code for working with OLE data.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static interface
OleUtil.CompoundPackageFactory

Interface used to allow optional inclusion of the poi library for working with compound ole data.

private static class
OleUtil.CompoundSupport

Initialization-on-demand holder for the compound storage support.

pack-priv abstract static class
pack-priv abstract static class
pack-priv abstract static class
private static class
pack-priv static class
private static class
private static class
private static class

Field Summary

Modifier and TypeField and Description
private static final String
private static final byte[]
private static final Logger
private static final byte[]
private static final Charset
private static final int
private static final Charset
private static final int
private static final byte[]
private static final int
private static final int
private static final int
private static final String
private static final String
private static final int
private static final int
private static final String
private static final Pattern
private static final Set<OleBlob.ContentType>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static OleBlob
createBlob(OleBlob.Builder oleBuilder)

Creates a new OlBlob instance using the given information.

private static OleUtil.ContentImpl
createSimplePackageContent(OleUtil.OleBlobImpl blob, String prettyName, String className, String typeName, ByteBuffer blobBb, int dataBlockLen)

private static byte[]
public static OleBlob
parseBlob(byte[] bytes)

Parses an access database blob structure and returns an appropriate OleBlob instance.

private static String
readStr(ByteBuffer bb, int off, int len)

private static String
readStr(ByteBuffer bb, int off, int len, Charset charset)

private static String
private static byte[]
writePackageHeader(OleBlob.Builder oleBuilder, long contentLen)

private static byte[]
private static byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait