public static URI getURI ( String classpathOrFilePath ) { return Optional . ofNullable ( getResourceURI ( classpathOrFilePath ) ) . orElseGet ( ( ) -> new File ( classpathOrFilePath ) . toURI ( ) ) ; }
Gets uri .