Utility class to check validity of package, class, and method name



Hello,

is there any utility class to check the validity of package, class, and
method names given as String?

Valid: In terms of the the Java Language Specification, especially
http://java.sun.com/docs/books/jls/first_edition/html/3.doc.html#40625?

Thanks,
Martin

.



Relevant Pages

  • Re: #include for a DropDownList?
    ... another option would be define a utility class ... drag a ObjectDataSource on the page and use ObjectDataSource to reference ... I had to put "static public string ServiceUrl" or the jscript below would ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: Utility class to check validity of package, class, and method name
    ... is there any utility class to check the validity of package, class, and ... Don't know of a method that checks an entire string, ... isJavaIdentifierStart ...
    (comp.lang.java.programmer)
  • Re: How to count duplicate items in ArrayList?
    ... Ook wrote: ... Map<String,int> would be ideal for another part of this project, but I'm using a class with a string and int because thats how I did it in c++ and I don't know java well enough to make the Map work (it's a school project). ... to do something like this often enough that I have a utility class to do it. ...
    (comp.lang.java.programmer)
  • Re: Cant find class outside of package?
    ... > I then have a utility class called Timer.java that does not belong to any ... of 'no package' classes. ... Timer.class exists irregardless of Employee, ... require a Timer, so which do you guess imports ...
    (comp.lang.java.programmer)
  • Cant find class outside of package?
    ... I have a class Employee in the package ... I then have a utility class called Timer.java that does not belong to any ... put it into its own package, and if so, where in the directory structure ...
    (comp.lang.java.programmer)