/** * Constructs a new file system node name by parsing the given URI. * This static factory method calls * {@link #FsNodeName(URI, FsUriModifier) new FsNodeName(uri, FsUriModifier.NULL)} * and wraps any thrown {@link URISyntaxException} in an * {@link IllegalArgumentException}. * * @param uri the {@link #getUri() URI}. * @throws NullPointerException if {@code uri} is {@code null}. * @throws IllegalArgumentException if {@code uri} does not conform to the * syntax constraints for file system node names. * @return A new file system node name. */ public static FsNodeName create(URI uri) { return create(uri, NULL); }