|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface InputCapture.FormatTypeOtherFactory
Factory interface used by InputCapture factories to load NPL based files
who's format is FormatType.Other. The defaut factory for
this interface can be overriden using the
InputCapture.PROPERTY_INPUTCAPTURE_OTHER_FACTORY.
| Method Summary | |
|---|---|
FormatType |
formatType(java.nio.channels.ReadableByteChannel in)
Checks the format type of this channel. |
FormatType.Detail |
formatTypeDetail(com.slytechs.utils.memory.channel.BufferedReadableByteChannel in)
|
InputCapture<CapturePacket> |
newInput(java.nio.channels.ReadableByteChannel in,
Filter<ProtocolFilterTarget> filter)
Create new input capture of file format FormatType.Other. |
| Method Detail |
|---|
FormatType formatType(java.nio.channels.ReadableByteChannel in)
throws java.io.IOException
FileFormat.Other will be returned. More detailed file
format can be queried using the method
InputCapture.getFormatName().
in - input channel to scan for format type
java.io.IOException - any IO errors
InputCapture<CapturePacket> newInput(java.nio.channels.ReadableByteChannel in,
Filter<ProtocolFilterTarget> filter)
throws java.io.IOException
FormatType.Other.
The file format can not be more specifically subclassed as these file
formats are all NPL based and not based on the "capture framework's" core
supplied file formats.
in - channel from which to decodefilter - packet filter to apply
java.io.IOException - any IO errors
FormatType.Detail formatTypeDetail(com.slytechs.utils.memory.channel.BufferedReadableByteChannel in)
throws java.io.IOException
b -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||