Package org.apache.nifi.util
Class FlowFileUnpackagerV3
java.lang.Object
org.apache.nifi.util.FlowFileUnpackagerV3
- All Implemented Interfaces:
FlowFileUnpackager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate byte[]private final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longcopy(InputStream in, OutputStream out, long numBytes) private voidfillBuffer(InputStream in, byte[] buffer, int length) booleanprivate Integerprivate byte[]protected longreadLong(InputStream in) protected StringunpackageFlowFile(InputStream in, OutputStream out)
-
Field Details
-
nextHeader
private byte[] nextHeader -
haveReadSomething
private boolean haveReadSomething -
readBuffer
private final byte[] readBuffer
-
-
Constructor Details
-
FlowFileUnpackagerV3
public FlowFileUnpackagerV3()
-
-
Method Details
-
hasMoreData
- Specified by:
hasMoreDatain interfaceFlowFileUnpackager- Throws:
IOException
-
readHeader
- Throws:
IOException
-
unpackageFlowFile
- Specified by:
unpackageFlowFilein interfaceFlowFileUnpackager- Throws:
IOException
-
readAttributes
- Throws:
IOException
-
readString
- Throws:
IOException
-
fillBuffer
- Throws:
IOException
-
copy
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readFieldLength
- Throws:
IOException
-