Class ClassSourceFileRecorder

  extended by
All Implemented Interfaces:

public class ClassSourceFileRecorder
extends Object
implements SourceFileRecorder

A source file recorder that writes the Java metadata from the source file to the repository, using the same structure as the default mode of the Java Class File sequencer.

Constructor Summary
Method Summary
 void record(StreamSequencerContext context, SequencerOutput output, JavaMetadata javaMetadata)
          Records a source file using the provided SequencerOutput instance.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ClassSourceFileRecorder()
Method Detail


public void record(StreamSequencerContext context,
                   SequencerOutput output,
                   JavaMetadata javaMetadata)
Description copied from interface: SourceFileRecorder
Records a source file using the provided SequencerOutput instance.

Specified by:
record in interface SourceFileRecorder
context - the sequencer context
output - the StreamSequencer output
javaMetadata - the metadata for the Java source file

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.