aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/healthmarketscience/jackcess/Row.java
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2014-05-07 03:34:34 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2014-05-07 03:34:34 +0000
commit6f5cf0bdb1958430be42ef3c64b4645a16985b9e (patch)
tree714071dfca919572495f5d117fa0992b8ad90b59 /src/main/java/com/healthmarketscience/jackcess/Row.java
parent903e35369a7c7ceea4a73858e4744e17ee8c8eb8 (diff)
downloadjackcess-6f5cf0bdb1958430be42ef3c64b4645a16985b9e.tar.gz
jackcess-6f5cf0bdb1958430be42ef3c64b4645a16985b9e.zip
add getBlob convenience method
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@861 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/Row.java')
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/Row.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/Row.java b/src/main/java/com/healthmarketscience/jackcess/Row.java
index e5d797d..08eaa62 100644
--- a/src/main/java/com/healthmarketscience/jackcess/Row.java
+++ b/src/main/java/com/healthmarketscience/jackcess/Row.java
@@ -19,11 +19,13 @@ USA
package com.healthmarketscience.jackcess;
+import java.io.IOException;
import java.util.Date;
import java.util.Map;
import java.math.BigDecimal;
import com.healthmarketscience.jackcess.complex.ComplexValueForeignKey;
+import com.healthmarketscience.jackcess.util.OleBlob;
/**
@@ -102,7 +104,15 @@ public interface Row extends Map<String,Object>
/**
* Convenience method which gets the value for the row with the given name,
- * casting it to a ComplexValueForeignKey (DataType COMPLEX_TYPE).
+ * casting it to a {@link ComplexValueForeignKey} (DataType COMPLEX_TYPE).
*/
public ComplexValueForeignKey getForeignKey(String name);
+
+ /**
+ * Convenience method which gets the value for the row with the given name,
+ * converting it to an {@link OleBlob} (DataTypes OLE).
+ * </p>
+ * Note, <i>the OleBlob should be closed after use</i>.
+ */
+ public OleBlob getBlob(String name) throws IOException;
}