InputStreamAccessor, InputStreamAccessor.InputStreamBuilder<InputStreamStringBuilder>, InputStreamAccessor.InputStreamMutator, InputStreamAccessor.InputStreamProperty, InputStreamStringBuilder, org.refcodes.mixin.EncodingAccessor, org.refcodes.mixin.EncodingAccessor.EncodingBuilder<InputStreamStringBuilder>, org.refcodes.mixin.EncodingAccessor.EncodingMutator, org.refcodes.mixin.EncodingAccessor.EncodingPropertypublic class InputStreamStringBuilderImpl extends Object implements InputStreamStringBuilder
InputStreamStringBuilder interface. The
InputStream is not touched earlier than the beginning of the
conversion operation. If no encoding is set, then UTF-8 is used by default.org.refcodes.mixin.EncodingAccessor.EncodingBuilder<B extends org.refcodes.mixin.EncodingAccessor.EncodingBuilder<B>>, org.refcodes.mixin.EncodingAccessor.EncodingMutator, org.refcodes.mixin.EncodingAccessor.EncodingPropertyInputStreamAccessor.InputStreamBuilder<B extends InputStreamAccessor.InputStreamBuilder<B>>, InputStreamAccessor.InputStreamMutator, InputStreamAccessor.InputStreamProperty| Constructor | Description |
|---|---|
InputStreamStringBuilderImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getEncoding() |
|
InputStream |
getInputStream() |
Retrieves the
InputStream from the Input-Stream property. |
void |
setEncoding(String aEncoding) |
|
void |
setInputStream(InputStream aInputStream) |
Sets the
InputStream for the Input-Stream property. |
String |
toString() |
|
String |
toString(InputStream aInputStream,
String aEncoding) |
The
String being build by the builder upon the settings of the
attributes. |
String |
toString(String aEncoding) |
The
Strings being build by the builder upon the settings of the
attributes. |
String[] |
toStrings() |
The
Strings being build by the builder upon the settings of the
attributes. |
toString, toStrings, toStrings, toStrings, withEncoding, withInputStreampublic String getEncoding()
getEncoding in interface org.refcodes.mixin.EncodingAccessorpublic void setEncoding(String aEncoding)
setEncoding in interface org.refcodes.mixin.EncodingAccessor.EncodingMutatorpublic InputStream getInputStream()
InputStream from the Input-Stream property.getInputStream in interface InputStreamAccessorInputStream stored by the Input-Stream property.public void setInputStream(InputStream aInputStream)
InputStream for the Input-Stream property.setInputStream in interface InputStreamAccessor.InputStreamMutatoraInputStream - The InputStream to be stored by the
Input-Stream property.public String toString(InputStream aInputStream, String aEncoding) throws IOException
String being build by the builder upon the settings of the
attributes.toString in interface InputStreamStringBuilderaInputStream - The InputStream which to convert into a
String.aEncoding - The text encoding to be used.StringIOException - thrown in case accessing the InputStream
caused faults.public String toString(String aEncoding) throws IOException
Strings being build by the builder upon the settings of the
attributes.toString in interface InputStreamStringBuilderaEncoding - The text encoding to be used.String arrayIOException - thrown in case accessing the InputStream
caused faults.public String[] toStrings() throws IOException
Strings being build by the builder upon the settings of the
attributes.toStrings in interface InputStreamStringBuilderString arrayIOException - thrown in case accessing the InputStream
caused faults.Copyright © 2018. All rights reserved.