public static class DBUtil.EmptyBlob
extends java.lang.Object
implements java.sql.Blob
| Constructor and Description |
|---|
DBUtil.EmptyBlob() |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
java.io.InputStream |
getBinaryStream() |
java.io.InputStream |
getBinaryStream(long pos,
long length) |
byte[] |
getBytes(long pos,
int length) |
long |
length() |
long |
position(java.sql.Blob pattern,
long start) |
long |
position(byte[] pattern,
long start) |
java.io.OutputStream |
setBinaryStream(long data) |
int |
setBytes(long length,
byte[] data) |
int |
setBytes(long length,
byte[] data,
int i1,
int i2) |
void |
truncate(long pos) |
public java.io.InputStream getBinaryStream()
getBinaryStream in interface java.sql.Blobpublic java.io.OutputStream setBinaryStream(long data)
setBinaryStream in interface java.sql.Blobpublic byte[] getBytes(long pos,
int length)
getBytes in interface java.sql.Blobpublic int setBytes(long length,
byte[] data)
setBytes in interface java.sql.Blobpublic int setBytes(long length,
byte[] data,
int i1,
int i2)
setBytes in interface java.sql.Blobpublic void truncate(long pos)
truncate in interface java.sql.Blobpublic long length()
length in interface java.sql.Blobpublic long position(java.sql.Blob pattern,
long start)
position in interface java.sql.Blobpublic long position(byte[] pattern,
long start)
position in interface java.sql.Blobpublic void free()
throws java.sql.SQLException
free in interface java.sql.Blobjava.sql.SQLExceptionpublic java.io.InputStream getBinaryStream(long pos,
long length)
throws java.sql.SQLException
getBinaryStream in interface java.sql.Blobjava.sql.SQLExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.