Package org.apache.nifi.util
Class FlowFileUnpackagerV2
java.lang.Object
org.apache.nifi.util.FlowFileUnpackagerV2
- All Implemented Interfaces:
FlowFileUnpackager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate 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 Integerprotected longreadLong(InputStream in) protected StringunpackageFlowFile(InputStream in, OutputStream out)
-
Field Details
-
readBuffer
private final byte[] readBuffer -
nextAttributes
-
haveReadSomething
private boolean haveReadSomething
-
-
Constructor Details
-
FlowFileUnpackagerV2
public FlowFileUnpackagerV2()
-
-
Method Details
-
hasMoreData
- Specified by:
hasMoreDatain interfaceFlowFileUnpackager- Throws:
IOException
-
readAttributes
- Throws:
IOException
-
unpackageFlowFile
- Specified by:
unpackageFlowFilein interfaceFlowFileUnpackager- Throws:
IOException
-
readString
- Throws:
IOException
-
fillBuffer
- Throws:
IOException
-
copy
- Throws:
IOException
-
readLong
- Throws:
IOException
-
readFieldLength
- Throws:
IOException
-