org.apache.nifi.util.FlowFileUnpackager Java Examples

The following examples show how to use org.apache.nifi.util.FlowFileUnpackager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FlowFileParser.java    From datacollector with Apache License 2.0 5 votes vote down vote up
public FlowFileParser(
    ProtoConfigurableEntity.Context context,
    String id,
    InputStream in,
    FlowFileUnpackager unpacker,
    DataParserFactory contentParserFactory
) {
  this.context = context;
  this.readerId = id;
  this.in = new DataInputStream(in);
  this.unpacker = unpacker;
  this.contentParserFactory = contentParserFactory;
  contentQueue = new LinkedList<>();
}
 
Example #2
Source File: UnpackContent.java    From localization_nifi with Apache License 2.0 4 votes vote down vote up
public FlowFileStreamUnpacker(final FlowFileUnpackager unpackager) {
    this.unpackager = unpackager;
}
 
Example #3
Source File: UnpackContent.java    From nifi with Apache License 2.0 4 votes vote down vote up
public FlowFileStreamUnpacker(final FlowFileUnpackager unpackager) {
    this.unpackager = unpackager;
}