org.jruby.util
Class CommandlineParser

java.lang.Object
  extended byorg.jruby.util.CommandlineParser

public class CommandlineParser
extends java.lang.Object


Field Summary
 int argumentIndex
           
 boolean assumeLoop
           
 boolean assumePrinting
           
 int characterIndex
           
 boolean isBenchmarking
           
 boolean processLineEnds
           
 java.lang.String[] scriptArguments
           
 java.lang.String scriptFileName
           
 boolean sDoSplit
           
 boolean showVersion
           
 java.lang.String sRegexpAdapter
           
 boolean verbose
           
 
Constructor Summary
CommandlineParser(java.lang.String[] arguments)
           
 
Method Summary
 java.lang.String displayedFileName()
           
 java.io.Reader getScriptSource()
           
 boolean hasInlineScript()
           
 java.lang.String inlineScript()
           
 java.util.List loadPaths()
           
 java.util.List requiredLibraries()
           
 boolean shouldRunInterpreter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sRegexpAdapter

public java.lang.String sRegexpAdapter

scriptFileName

public java.lang.String scriptFileName

isBenchmarking

public boolean isBenchmarking

assumeLoop

public boolean assumeLoop

assumePrinting

public boolean assumePrinting

processLineEnds

public boolean processLineEnds

sDoSplit

public boolean sDoSplit

verbose

public boolean verbose

showVersion

public boolean showVersion

scriptArguments

public java.lang.String[] scriptArguments

argumentIndex

public int argumentIndex

characterIndex

public int characterIndex
Constructor Detail

CommandlineParser

public CommandlineParser(java.lang.String[] arguments)
Method Detail

hasInlineScript

public boolean hasInlineScript()

inlineScript

public java.lang.String inlineScript()

requiredLibraries

public java.util.List requiredLibraries()

loadPaths

public java.util.List loadPaths()

shouldRunInterpreter

public boolean shouldRunInterpreter()

getScriptSource

public java.io.Reader getScriptSource()

displayedFileName

public java.lang.String displayedFileName()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.