|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
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.FormatType The format type of the stream |
Field Summary | |
---|---|
static java.lang.String |
BEGIN_HDA |
static java.lang.String |
BEGIN_HDA_NO_HEADER |
Constructor Summary | |
---|---|
HdaSerializerUtils() |
Method Summary | |
---|---|
static java.lang.String |
decode(java.lang.String in) Decodes a string with backslash escaped characters, "\\n" goes to "\n" |
static HdaSerializerUtils.FormatType |
determineFormat(java.io.InputStream inputStream, java.lang.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 java.lang.String |
encode(java.lang.String in) Encodes a string to have backslash escape characters, "\n" goes to "\\n" |
static int |
readIdcContentLength(java.io.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 java.lang.String BEGIN_HDA
public static final java.lang.String BEGIN_HDA_NO_HEADER
Constructor Detail |
---|
public HdaSerializerUtils()
Method Detail |
---|
public static java.lang.String decode(java.lang.String in)
in
- the string to encodepublic static java.lang.String encode(java.lang.String in)
in
- the encoded stringpublic static HdaSerializerUtils.FormatType determineFormat(java.io.InputStream inputStream, java.lang.String encoding) throws java.io.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_TYPE
java.io.IOException
public static int readIdcContentLength(java.io.InputStream inputStream) throws java.io.IOException
inputStream
-java.io.IOException
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |