public class ClassSourceFileRecorder extends Object implements SourceFileRecorder
Constructor and Description |
---|
ClassSourceFileRecorder() |
Modifier and Type | Method and Description |
---|---|
void |
record(Sequencer.Context context,
InputStream inputStream,
long length,
String encoding,
Node outputNode)
Records a source file.
|
public void record(Sequencer.Context context, InputStream inputStream, long length, String encoding, Node outputNode) throws Exception
record
in interface SourceFileRecorder
context
- the sequencer context (cannot be null
)inputStream
- the stream being processed (cannot be null
)length
- the length of the java fileencoding
- the encoding to use (can be null
)outputNode
- the Node
output (cannot be null
)Exception
- if anything fails during the sequencing processSourceFileRecorder.record(org.modeshape.jcr.api.sequencer.Sequencer.Context, java.io.InputStream, long, java.lang.String, javax.jcr.Node)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.