程序包 proguard

类 ArgumentWordReader


  • public class ArgumentWordReader
    extends WordReader
    A WordReader that returns words from an argument list. Single arguments are split into individual words if necessary.
    • 构造器详细资料

      • ArgumentWordReader

        public ArgumentWordReader​(java.lang.String[] arguments,
                                  java.io.File baseDir)
        Creates a new ArgumentWordReader for the given arguments, with the given base directory.
    • 方法详细资料

      • nextLine

        protected java.lang.String nextLine()
                                     throws java.io.IOException
        从类复制的说明: WordReader
        Reads a line from this WordReader, or from one of its active included WordReader objects.
        指定者:
        nextLine 在类中 WordReader
        返回:
        the read line.
        抛出:
        java.io.IOException
      • lineLocationDescription

        protected java.lang.String lineLocationDescription()
        从类复制的说明: WordReader
        Returns a readable description of the current WordReader position.
        指定者:
        lineLocationDescription 在类中 WordReader
        返回:
        the description.
      • main

        public static void main​(java.lang.String[] args)
        Test application that prints out the individual words of the argument list.