Lines Matching refs:args
59 public ResourceCreator( String args[] ) throws java.lang.Exception { in ResourceCreator() argument
62 parseArguments( args ); in ResourceCreator()
116 String[] args = new String[ 1 ]; in createNewResource() local
117 args[ 0 ] = "-url=" + sourceURL; in createNewResource()
118 DataStreamRetriever access = new DataStreamRetriever( args ); in createNewResource()
220 public void parseArguments( String[] args ) throws java.lang.Exception { in parseArguments() argument
224 for ( int i = 0; i < args.length; i++ ) { in parseArguments()
225 if ( args[i].startsWith( "-url=" )) { in parseArguments()
226 m_contenturl = args[i].substring( 5 ); in parseArguments()
227 } else if ( args[i].startsWith( "-name=" )) { in parseArguments()
228 m_name = args[i].substring( 6 ); in parseArguments()
229 } else if ( args[i].startsWith( "-srcURL=" )) { in parseArguments()
230 m_srcURL = args[i].substring( 8 ); in parseArguments()
231 } else if ( args[i].startsWith( "-workdir=" )) { in parseArguments()
232 workdir = args[i].substring( 9 ); in parseArguments()
233 } else if ( args[i].startsWith( "-help" ) || in parseArguments()
234 args[i].startsWith( "-?" )) { in parseArguments()
271 public static void main ( String args[] ) { in main() argument
282 ResourceCreator create = new ResourceCreator( args ); in main()