code: public static <T> InputReader getInstance(T input, String cs, Set<ParserFeature> features) throws IOException
      {
          return getInstance(input, -1, Charset.forName(cs), features);
      }
docs: Returns InputReader for input
  @param <T>
  @param input Any supported input type
  @param cs Character set
  @param features Needed features
  @return
  @throws IOException