| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc (build 1.5.0_06) on Wed Jul 19 14:45:54 EDT 2006 --> |
| <TITLE> |
| MemoryBlob (Apache Cayenne API Documentation - v.2.0-incubating-SNAPSHOT) |
| </TITLE> |
| |
| <META NAME="keywords" CONTENT="org.apache.cayenne.util.MemoryBlob class"> |
| |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../apache-javadoc.css" TITLE="Style"> |
| |
| <SCRIPT type="text/javascript"> |
| function windowTitle() |
| { |
| parent.document.title="MemoryBlob (Apache Cayenne API Documentation - v.2.0-incubating-SNAPSHOT)"; |
| } |
| </SCRIPT> |
| <NOSCRIPT> |
| </NOSCRIPT> |
| |
| </HEAD> |
| |
| <BODY BGCOLOR="white" onload="windowTitle();"> |
| |
| |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <A NAME="navbar_top"><!-- --></A> |
| <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/cayenne/util/LocalizedStringsHandler.html" title="class in org.apache.cayenne.util"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cayenne/util/MemoryClob.html" title="class in org.apache.cayenne.util"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cayenne/util/MemoryBlob.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="MemoryBlob.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_top"></A> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.cayenne.util</FONT> |
| <BR> |
| Class MemoryBlob</H2> |
| <PRE> |
| java.lang.Object |
| <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.cayenne.util.MemoryBlob</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD>java.sql.Blob</DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT><PRE>public class <B>MemoryBlob</B><DT>extends java.lang.Object<DT>implements java.sql.Blob</DL> |
| </PRE> |
| |
| <P> |
| A Blob implementation that stores content in memory. |
| <p> |
| <i>This implementation is based on jdbcBlob from HSQLDB (copyright HSQL Development |
| Group).</i> |
| </p> |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>1.2</DD> |
| <DT><B>Author:</B></DT> |
| <DD>Andrus Adamchik, based on HSQLDB jdbcBlob.</DD> |
| </DL> |
| <HR> |
| |
| <P> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#MemoryBlob()">MemoryBlob</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#MemoryBlob(byte[])">MemoryBlob</A></B>(byte[] data)</CODE> |
| |
| <BR> |
| Constructs a new MemoryBlob instance wrapping the given octet sequence.</TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.io.InputStream</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#getBinaryStream()">getBinaryStream</A></B>()</CODE> |
| |
| <BR> |
| Retrieves the <code>BLOB</code> value designated by this <code>Blob</code> |
| instance as a stream.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> byte[]</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#getBytes(long, int)">getBytes</A></B>(long pos, |
| int length)</CODE> |
| |
| <BR> |
| Retrieves all or part of the <code>BLOB</code> value that this <code>Blob</code> |
| object represents, as an array of bytes.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#length()">length</A></B>()</CODE> |
| |
| <BR> |
| Returns the number of bytes in the <code>BLOB</code> value designated by this |
| <code>Blob</code> object.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#position(java.sql.Blob, long)">position</A></B>(java.sql.Blob pattern, |
| long start)</CODE> |
| |
| <BR> |
| Retrieves the byte position in the <code>BLOB</code> value designated by this |
| <code>Blob</code> object at which <code>pattern</code> begins.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> long</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#position(byte[], long)">position</A></B>(byte[] pattern, |
| long start)</CODE> |
| |
| <BR> |
| Retrieves the byte position at which the specified byte array <code>pattern</code> |
| begins within the <code>BLOB</code> value that this <code>Blob</code> object |
| represents.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.io.OutputStream</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#setBinaryStream(long)">setBinaryStream</A></B>(long pos)</CODE> |
| |
| <BR> |
| Always throws an exception.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#setBytes(long, byte[])">setBytes</A></B>(long pos, |
| byte[] bytes)</CODE> |
| |
| <BR> |
| Always throws an exception.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#setBytes(long, byte[], int, int)">setBytes</A></B>(long pos, |
| byte[] bytes, |
| int offset, |
| int len)</CODE> |
| |
| <BR> |
| Always throws an exception.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../org/apache/cayenne/util/MemoryBlob.html#truncate(long)">truncate</A></B>(long len)</CODE> |
| |
| <BR> |
| Truncates the <code>BLOB</code> value that this <code>Blob</code> object |
| represents to be <code>len</code> bytes in length.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="MemoryBlob()"><!-- --></A><H3> |
| MemoryBlob</H3> |
| <PRE> |
| public <B>MemoryBlob</B>()</PRE> |
| <DL> |
| </DL> |
| <HR> |
| |
| <A NAME="MemoryBlob(byte[])"><!-- --></A><H3> |
| MemoryBlob</H3> |
| <PRE> |
| public <B>MemoryBlob</B>(byte[] data)</PRE> |
| <DL> |
| <DD>Constructs a new MemoryBlob instance wrapping the given octet sequence. |
| <P> |
| <DL> |
| <DT><B>Parameters:</B><DD><CODE>data</CODE> - the octet sequence representing the Blob value |
| <DT><B>Throws:</B> |
| <DD><CODE><A HREF="../../../../org/apache/cayenne/CayenneRuntimeException.html" title="class in org.apache.cayenne">CayenneRuntimeException</A></CODE> - if the argument is null</DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TH> |
| </TR> |
| </TABLE> |
| |
| <A NAME="length()"><!-- --></A><H3> |
| length</H3> |
| <PRE> |
| public long <B>length</B>() |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Returns the number of bytes in the <code>BLOB</code> value designated by this |
| <code>Blob</code> object. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>length</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>length of the <code>BLOB</code> in bytes |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE> - if there is an error accessing the length of the |
| <code>BLOB</code></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBytes(long, int)"><!-- --></A><H3> |
| getBytes</H3> |
| <PRE> |
| public byte[] <B>getBytes</B>(long pos, |
| int length) |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Retrieves all or part of the <code>BLOB</code> value that this <code>Blob</code> |
| object represents, as an array of bytes. This <code>byte</code> array contains up |
| to <code>length</code> consecutive bytes starting at position <code>pos</code>. |
| <p> |
| The official specification is ambiguous in that it does not precisely indicate the |
| policy to be observed when pos > this.length() - length. One policy would be to |
| retrieve the octets from pos to this.length(). Another would be to throw an |
| exception. This implementation observes the later policy. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>getBytes</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pos</CODE> - the ordinal position of the first byte in the <code>BLOB</code> value |
| to be extracted; the first byte is at position 1<DD><CODE>length</CODE> - the number of consecutive bytes to be copied |
| <DT><B>Returns:</B><DD>a byte array containing up to <code>length</code> consecutive bytes from |
| the <code>BLOB</code> value designated by this <code>Blob</code> |
| object, starting with the byte at position <code>pos</code> |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE> - if there is an error accessing the <code>BLOB</code> |
| value</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getBinaryStream()"><!-- --></A><H3> |
| getBinaryStream</H3> |
| <PRE> |
| public java.io.InputStream <B>getBinaryStream</B>() |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Retrieves the <code>BLOB</code> value designated by this <code>Blob</code> |
| instance as a stream. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>getBinaryStream</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>a stream containing the <code>BLOB</code> data |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE> - if there is an error accessing the <code>BLOB</code> |
| value</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="position(byte[], long)"><!-- --></A><H3> |
| position</H3> |
| <PRE> |
| public long <B>position</B>(byte[] pattern, |
| long start) |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Retrieves the byte position at which the specified byte array <code>pattern</code> |
| begins within the <code>BLOB</code> value that this <code>Blob</code> object |
| represents. The search for <code>pattern</code> begins at position |
| <code>start</code>. |
| <p> |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>position</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pattern</CODE> - the byte array for which to search<DD><CODE>start</CODE> - the position at which to begin searching; the first position is 1 |
| <DT><B>Returns:</B><DD>the position at which the pattern appears, else -1 |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE> - if there is an error accessing the <code>BLOB</code></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="position(java.sql.Blob, long)"><!-- --></A><H3> |
| position</H3> |
| <PRE> |
| public long <B>position</B>(java.sql.Blob pattern, |
| long start) |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Retrieves the byte position in the <code>BLOB</code> value designated by this |
| <code>Blob</code> object at which <code>pattern</code> begins. The search |
| begins at position <code>start</code>. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>position</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>pattern</CODE> - the <code>Blob</code> object designating the <code>BLOB</code> |
| value for which to search<DD><CODE>start</CODE> - the position in the <code>BLOB</code> value at which to begin |
| searching; the first position is 1 |
| <DT><B>Returns:</B><DD>the position at which the pattern begins, else -1 |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE> - if there is an error accessing the <code>BLOB</code> |
| value</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setBytes(long, byte[])"><!-- --></A><H3> |
| setBytes</H3> |
| <PRE> |
| public int <B>setBytes</B>(long pos, |
| byte[] bytes) |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Always throws an exception. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>setBytes</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setBytes(long, byte[], int, int)"><!-- --></A><H3> |
| setBytes</H3> |
| <PRE> |
| public int <B>setBytes</B>(long pos, |
| byte[] bytes, |
| int offset, |
| int len) |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Always throws an exception. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>setBytes</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setBinaryStream(long)"><!-- --></A><H3> |
| setBinaryStream</H3> |
| <PRE> |
| public java.io.OutputStream <B>setBinaryStream</B>(long pos) |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Always throws an exception. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>setBinaryStream</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE></DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="truncate(long)"><!-- --></A><H3> |
| truncate</H3> |
| <PRE> |
| public void <B>truncate</B>(long len) |
| throws java.sql.SQLException</PRE> |
| <DL> |
| <DD>Truncates the <code>BLOB</code> value that this <code>Blob</code> object |
| represents to be <code>len</code> bytes in length. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>truncate</CODE> in interface <CODE>java.sql.Blob</CODE></DL> |
| </DD> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>len</CODE> - the length, in bytes, to which the <code>BLOB</code> value that this |
| <code>Blob</code> object represents should be truncated |
| <DT><B>Throws:</B> |
| <DD><CODE>java.sql.SQLException</CODE> - if there is an error accessing the <code>BLOB</code> |
| value</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| <TR> |
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../org/apache/cayenne/util/LocalizedStringsHandler.html" title="class in org.apache.cayenne.util"><B>PREV CLASS</B></A> |
| <A HREF="../../../../org/apache/cayenne/util/MemoryClob.html" title="class in org.apache.cayenne.util"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../index.html?org/apache/cayenne/util/MemoryBlob.html" target="_top"><B>FRAMES</B></A> |
| <A HREF="MemoryBlob.html" target="_top"><B>NO FRAMES</B></A> |
| <SCRIPT type="text/javascript"> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
| </NOSCRIPT> |
| |
| |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <A NAME="skip-navbar_bottom"></A> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| |
| <HR> |
| |
| <i>Copyright © 2001-2006 <a href= |
| "http://apache.org" target="_top">Apache.org</a> All Rights Reserved.</i> |
| |
| </BODY> |
| </HTML> |