|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.data.RawData.Factory
Static factory class for creating new instances of RawData
| Constructor Summary | |
RawData.Factory()
|
|
| Method Summary | |
static RawData |
newInstance()
creates a rawdata instance |
static RawData |
newInstance(byte[] bytes)
creates a rawdata instance from byte[] |
static RawData |
newInstance(InputStream stream)
creates a rawdata instance from inputstream |
static RawData |
newInstance(String str)
creates a rawdata instance from string |
static RawData |
newInstance(String str,
String enc)
creates a rawdata instance from string with encoding |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RawData.Factory()
| Method Detail |
public static RawData newInstance(InputStream stream)
throws IOException
stream - InputStream containing the data.
IOException - thrown if a reading error occurs.
public static RawData newInstance(byte[] bytes)
throws RawDataRuntimeException
RawDataRuntimeException
public static RawData newInstance()
throws RawDataRuntimeException
RawDataRuntimeException
public static RawData newInstance(String str)
throws RawDataRuntimeException
str - The string representation of the data.
RawDataRuntimeException
public static RawData newInstance(String str,
String enc)
throws UnsupportedEncodingException,
RawDataRuntimeException
str - The string representation of the data.enc - The encoding to apply on the string representation
of the data.
UnsupportedEncodingException
RawDataRuntimeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||