Class BratNameSampleStreamFactory

All Implemented Interfaces:
ObjectStreamFactory<NameSample, BratNameSampleStreamFactory.Parameters>

public class BratNameSampleStreamFactory extends AbstractSampleStreamFactory<NameSample, BratNameSampleStreamFactory.Parameters>
Note: Do not use this class, internal use only!
See Also:
  • Constructor Details

    • BratNameSampleStreamFactory

      protected BratNameSampleStreamFactory()
  • Method Details

    • registerFactory

      public static void registerFactory()
    • notNull

      private boolean notNull(Object... objects)
      Checks that non of the passed values are null.
      Parameters:
      objects - The objects to check for null.
      Returns:
      true if at least one object is null, false otherwise.
    • create

      public ObjectStream<NameSample> create(String[] args)
      Description copied from interface: ObjectStreamFactory
      Creates an ObjectStream of the template type T.
      Parameters:
      args - arguments
      Returns:
      The created ObjectStream instance.