|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.ridc.model.serialize.HdaSerializerUtils
public abstract class HdaSerializerUtils
Utility methods used when serializing binders in HDA protocol.
| Nested Class Summary | |
|---|---|
static class |
HdaSerializerUtils.FormatTypeThe format type of the stream |
| Field Summary | |
|---|---|
static String |
BEGIN_HDA |
static String |
BEGIN_HDA_NO_HEADER |
| Constructor Summary | |
|---|---|
HdaSerializerUtils() |
|
| Method Summary | |
|---|---|
static String |
decode(String in)Decodes a string with backslash escaped characters, "\\n" goes to "\n" |
static HdaSerializerUtils.FormatType |
determineFormat(InputStream inputStream, String encoding)Determines the format by looking at the first bytes of the stream and checkin it against the BEGIN_HDA string for equality. |
static String |
encode(String in)Encodes a string to have backslash escape characters, "\n" goes to "\\n" |
static long |
readIdcContentLength(InputStream inputStream)Read the custom IDCFILE content length portion of the inputstream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEGIN_HDA
public static final String BEGIN_HDA_NO_HEADER
| Constructor Detail |
|---|
public HdaSerializerUtils()
| Method Detail |
|---|
public static String decode(String in)
in - the string to encodepublic static String encode(String in)
in - the encoded string
public static HdaSerializerUtils.FormatType determineFormat(InputStream inputStream,
String encoding)
throws IOException
BEGIN_HDA string for equality. Assumes all headers have been readinputStream - the current input streamencoding - the stream encodingHdaSerializerUtils.FormatType.HDA_TYPE or HdaSerializerUtils.FormatType.STREAM_TYPEIOException
public static long readIdcContentLength(InputStream inputStream)
throws IOException
inputStream -IOException
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||