Exemple #1
0
 public static byte[] input(String fileName) {
   try {
     return input(Files.newInputStream(IO.path(fileName)));
   } catch (IOException e) {
     return Exceptions.handle(byte[].class, e);
   }
 }
Exemple #2
0
 @Override
 public Path apply(String s) {
   return IO.path(s);
 }