comparison env/lib/python3.7/site-packages/schema_salad/java/main_utils/Validator.java @ 0:26e78fe6e8c4 draft

"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author shellac
date Sat, 02 May 2020 07:14:21 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:26e78fe6e8c4
1 package ${package}.utils;
2
3 import java.io.File;
4
5 public class Validator {
6 public static void main(final String[] args) throws Exception {
7 if(args.length != 1) {
8 throw new Exception("No argument supplied to validate.");
9 }
10 // TODO: allow URLs and such.
11 final File uri = new File(args[0]);
12 RootLoader.loadDocument(uri);
13 }
14 }