All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codetaco.funnel.provider.VariableLengthSysinReader Maven / Gradle / Ivy

There is a newer version: 3.0.5
Show newest version
package com.codetaco.funnel.provider;

import java.io.IOException;
import java.text.ParseException;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.codetaco.funnel.parameters.FunnelContext;

/**
 * 

* VariableLengthSysinReader class. *

* * @author Chris DeGreef [email protected] */ public class VariableLengthSysinReader extends VariableLengthCacheReader { static final private Logger _logger = LoggerFactory.getLogger(VariableLengthSysinReader.class); /** *

* Constructor for VariableLengthSysinReader. *

* * @param _context a {@link com.codetaco.funnel.parameters.FunnelContext} * object. * @throws java.io.IOException if any. * @throws java.text.ParseException if any. */ public VariableLengthSysinReader(final FunnelContext _context) throws IOException, ParseException { super(_context); logger.debug("variable length sysin reader activated"); } @Override void loadDataToCache() throws IOException { context.inputCache = new VariableLengthInputCache(context, System.in); System.in.close(); _logger.debug("loaded SYSIN"); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy