com.ca.commons.datamodel
Class DataModelFileSource

java.lang.Object
  extended by com.ca.commons.datamodel.DataModelSource
      extended by com.ca.commons.datamodel.DataModelWritableSource
          extended by com.ca.commons.datamodel.DataModelWritableStreamSource
              extended by com.ca.commons.datamodel.DataModelFileSource

public class DataModelFileSource
extends DataModelWritableStreamSource


Field Summary
 
Fields inherited from class com.ca.commons.datamodel.DataModelSource
logger
 
Constructor Summary
DataModelFileSource(String name, File file)
           
 
Method Summary
protected  InputStream inputStream()
           
protected  OutputStream outputStream()
           
 
Methods inherited from class com.ca.commons.datamodel.DataModelWritableStreamSource
readJaxbModelImpl, writeJaxbModelImpl
 
Methods inherited from class com.ca.commons.datamodel.DataModelWritableSource
newMarshaller, writeComplete, writeJaxbModel
 
Methods inherited from class com.ca.commons.datamodel.DataModelSource
equals, getName, hashCode, invalidate, isChanged, lastModified, override, readComplete, readJaxbModel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataModelFileSource

public DataModelFileSource(@NotNull
                           String name,
                           @NotNull
                           File file)
Method Detail

inputStream

@NotNull
protected InputStream inputStream()
                           throws IOException
Specified by:
inputStream in class DataModelWritableStreamSource
Throws:
IOException

outputStream

@NotNull
protected OutputStream outputStream()
                             throws IOException
Specified by:
outputStream in class DataModelWritableStreamSource
Throws:
IOException


Created 2011-07-14 13:27 EST