org.exoplatform.services.common
Class DataReader
java.lang.Object
org.exoplatform.services.common.DataReader
public class DataReader
- extends java.lang.Object
Author : Nhu Dinh Thuan
Email:nhudinhthuan@yahoo.com
Jun 4, 2007
|
Method Summary |
byte[] |
load(java.io.File file)
|
byte[] |
load(java.io.FileInputStream input,
long fsize)
|
byte[] |
load(java.lang.String path)
|
java.io.ByteArrayOutputStream |
loadInputStream(java.io.InputStream input)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataReader
public DataReader()
load
public byte[] load(java.lang.String path)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public byte[] load(java.io.File file)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public byte[] load(java.io.FileInputStream input,
long fsize)
throws java.lang.Exception
- Throws:
java.lang.Exception
loadInputStream
public java.io.ByteArrayOutputStream loadInputStream(java.io.InputStream input)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2012 eXo Platform SAS. All Rights Reserved.