Class SrgConstants


  • public final class SrgConstants
    extends java.lang.Object
    A collection of constants and utilities specific to the SRG mapping format and its variants.
    Since:
    0.4.0
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  SrgConstants.CSrg
      A collection of constants specific to the CSRG mapping format.
      static class  SrgConstants.TSrg
      A collection of constants specific to the TSRG mapping format.
      static class  SrgConstants.XSrg
      A collection of constants specific to the XSRG mapping format.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String STANDARD_EXTENSION
      The standard file extension used with the SRG format.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String removeComments​(java.lang.String line)
      Removes present comments, from the given String line.
      • Methods inherited from class java.lang.Object

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

      • STANDARD_EXTENSION

        public static final java.lang.String STANDARD_EXTENSION
        The standard file extension used with the SRG format.
        See Also:
        Constant Field Values
    • Method Detail

      • removeComments

        public static java.lang.String removeComments​(java.lang.String line)
        Removes present comments, from the given String line.
        Parameters:
        line - The line
        Returns:
        The comment-omitted line