Skip to content

Commit

Permalink
small tests with URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanPreibisch committed Aug 28, 2024
1 parent 7114e11 commit 1e9d474
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,9 @@ public static void main( String[] args )

System.out.println( u );
System.out.println( u2 );
System.out.println( new File( u2 ) );
System.out.println( new File( URI.create("file:/nrs/test.xml") ) );
// System.out.println( new File( URI.create("/nrs/test.xml") ) ); // FAILS
System.out.println( URITools.removeFilePrefix( u2 ) );
System.out.println( Paths.get(u2.getPath()).getFileName().toString());
}
Expand Down

0 comments on commit 1e9d474

Please sign in to comment.