Search:

Type: Posts; User: copeg

Search: Search took 0.23 seconds.

  1. Replies
    3
    Views
    1,388

    Re: Java relative path of a static class

    Don't know the answer off the top of my head, but will recommend naming of resources stick to a certain convention similar to package and class naming to avoid these issues: for instance only certain...
  2. Replies
    3
    Views
    1,388

    Re: Java relative path of a static class

    You can use the .class keyword to get the Class object of a given class, eg


    MapReader.class.getResource(...)
Results 1 to 2 of 2