com.northconcepts.datapipeline.core
Class DataEndpointGroup
java.lang.Object
com.northconcepts.datapipeline.core.DataEndpoint
com.northconcepts.datapipeline.core.DataEndpointGroup
public class DataEndpointGroup
- extends DataEndpoint
Helper class--makes it easy to work with multiple readers and writers as a single unit.
| Methods inherited from class com.northconcepts.datapipeline.core.DataEndpoint |
addExceptionProperties, assertNotOpened, assertOpened, decrementRecordCount, exception, exception, exception, finalize, getDescription, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, getState, incrementRecordCount, isClosed, isOpen, isRecordCountBigInteger, resetRecordCount, setDescription, toString |
DataEndpointGroup
public DataEndpointGroup()
getCount
public int getCount()
add
public DataEndpointGroup add(DataEndpoint... endpoints)
get
public DataEndpoint get(int index)
open
public void open()
throws DataException
- Description copied from class:
DataEndpoint
- Makes this endpoint ready for reading or writing.
- Overrides:
open in class DataEndpoint
- Throws:
DataException
close
public void close()
throws DataException
- Description copied from class:
DataEndpoint
- Indicates that this endpoint has finished reading or writing.
- Overrides:
close in class DataEndpoint
- Throws:
DataException
Copyright (c) 2007-2012 North Concepts Inc. All Rights Reserved.