Class ExtendedM3uParser.Line

  • Enclosing class:
    ExtendedM3uParser

    public static class ExtendedM3uParser.Line
    extends java.lang.Object
    Parsed extended M3U line info. May be either an empty line (isDirective() and isData() both false), a directive or a data line.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Map<java.lang.String,​java.lang.String> directiveArguments
      Directive arguments of a directive line.
      java.lang.String directiveName
      Directive name of a directive line.
      java.lang.String extraData
      Raw unprocessed directive extra data (where arguments are parsed from).
      java.lang.String lineData
      The data of a data line.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isData()  
      boolean isDirective()  
      • Methods inherited from class java.lang.Object

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

      • lineData

        public final java.lang.String lineData
        The data of a data line.
      • directiveName

        public final java.lang.String directiveName
        Directive name of a directive line.
      • directiveArguments

        public final java.util.Map<java.lang.String,​java.lang.String> directiveArguments
        Directive arguments of a directive line.
      • extraData

        public final java.lang.String extraData
        Raw unprocessed directive extra data (where arguments are parsed from).
    • Method Detail

      • isDirective

        public boolean isDirective()
        Returns:
        True if it is a directive line.
      • isData

        public boolean isData()
        Returns:
        True if it is a data line.