public class DataPersist
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DataPersist.ReadAtMostInputStream
An InputStream that reads at most a given number of bytes
|
static class |
DataPersist.ReadAtMostReader |
Modifier and Type | Field and Description |
---|---|
protected boolean |
hasBeenFred |
protected static int |
LARGE_BLOB |
protected long |
length |
protected java.io.File |
tmpFile |
Modifier | Constructor and Description |
---|---|
protected |
DataPersist(long length) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
copyToByteArray(java.io.InputStream ins,
int length) |
protected void |
finalize() |
void |
free() |
long |
length() |
protected static final int LARGE_BLOB
protected final long length
protected java.io.File tmpFile
protected boolean hasBeenFred
public void free() throws java.sql.SQLException
java.sql.SQLException
public long length() throws java.sql.SQLException
java.sql.SQLException
protected void finalize()
finalize
in class java.lang.Object
public static byte[] copyToByteArray(java.io.InputStream ins, int length) throws java.io.IOException
java.io.IOException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.