修飾子と型 | クラスと説明 |
---|---|
static interface | InspectedContent.Inspector コンテンツが最初に読み取られるときにコンテンツをインスペクションするために使用できるインターフェース。 |
修飾子と型 | メソッドと説明 |
---|---|
static InspectedContent | of(Content content, InspectedContent.Inspector... inspectors) ソースコンテンツから InspectedContent インスタンスを作成するファクトリメソッド。 |
static InspectedContent | of(InputStreamSE inputStream, InspectedContent.Inspector... inspectors) ソース入力ストリームから InspectedContent インスタンスを作成するファクトリメソッド。 |
static InspectedContent | of(IOConsumer<OutputStreamSE> writer, InspectedContent.Inspector... inspectors) ソースの書き込みメソッドから InspectedContent インスタンスを作成するファクトリメソッド。 |
int | size() コンテンツのサイズ(バイト単位)。 |
void | writeTo(OutputStreamSE outputStream) 指定された出力ストリームにコンテンツを書き込みます。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public int size()
Content
public void writeTo(OutputStreamSE outputStream) throws IOExceptionSE
Content
Content
の writeTo
outputStream
- 書き込む出力ストリーム IOExceptionSE
- IO エラー時 public static InspectedContent of(InputStreamSE inputStream, InspectedContent.Inspector... inspectors) throws IOExceptionSE
InspectedContent
インスタンスを作成するファクトリメソッド。inputStream
- コンテンツ入力ストリーム inspectors
- 適用するインスペクション官 IOExceptionSE
- IO エラー時 public static InspectedContent of(Content content, InspectedContent.Inspector... inspectors) throws IOExceptionSE
InspectedContent
インスタンスを作成するファクトリメソッド。content
- コンテンツ inspectors
- 適用するインスペクション官 IOExceptionSE
- IO エラー時 public static InspectedContent of(IOConsumer<OutputStreamSE> writer, InspectedContent.Inspector... inspectors) throws IOExceptionSE
InspectedContent
インスタンスを作成するファクトリメソッド。writer
- 書き込みメソッドを表すコンシューマー inspectors
- 適用するインスペクション官 IOExceptionSE
- IO エラー時