Esempio n. 1
0
 private static System.Func <CharReadable> FileAsCharReadable(File file)
 {
     return(() =>
     {
         try
         {
             return Readables.files(StandardCharsets.UTF_8, file);
         }
         catch (IOException e)
         {
             throw new UncheckedIOException(e);
         }
     });
 }
Esempio n. 2
0
 private static CharSeeker Seeker(string definition, Configuration config)
 {
     return(CharSeekers.charSeeker(Readables.wrap(definition), new Configuration_OverriddenAnonymousInnerClass(config)
                                   , false));
 }