Class TSRGWriter

  • All Implemented Interfaces:
    IWriter

    @AutoService(IWriter.class)
    public class TSRGWriter
    extends java.lang.Object
    implements IWriter
    An IWriter that writes in the TSRG format, an intermediary format used by Forge.
    • Constructor Summary

      Constructors 
      Constructor Description
      TSRGWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String uniqueId()  
      void write​(Mapper mapper, java.io.PrintWriter writer, java.lang.String... args)
      Writes in a PrintWriter the contents of a Mapper.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TSRGWriter

        public TSRGWriter()
    • Method Detail

      • uniqueId

        public java.lang.String uniqueId()
        Specified by:
        uniqueId in interface IWriter
        Returns:
        a unique identifier for this writer
      • write

        public void write​(Mapper mapper,
                          java.io.PrintWriter writer,
                          java.lang.String... args)
        Description copied from interface: IWriter
        Writes in a PrintWriter the contents of a Mapper.
        Specified by:
        write in interface IWriter
        Parameters:
        mapper - the mapper
        writer - the writer
        args - various arguments which the writers may need