Class Location

java.lang.Object
com.tngtech.archunit.core.importer.Location

public abstract class Location extends Object
Handles various forms of location from where classes can be imported in a consistent way. Any location will be treated like a URI, thus there will not be any platform dependent file separator problems.

Examples for locations could be
  • file:///home/someuser/workspace/myproject/target/classes/myproject/Foo.class
  • jar:file:///home/someuser/.m2/repository/myproject/foolib.jar!/myproject/Foo.class