public RamlPath path ( String pattern ) { RamlPath path = resources . get ( pattern ) ; if ( path == null ) { path = new RamlPath ( ) ; resources . put ( pattern , path ) ; } return path ; }
Get a path for the given pattern . If the path doesn t exist a new path will be created .