code: public static List<String> readLinesWithRestOrFilePathOrClasspath(
              String resourceWithRestOrFilePathOrClasspath, String charsetName) {
          return JMCollections
                  .buildListByLine(getStringWithRestOrClasspathOrFilePath(
                          resourceWithRestOrFilePathOrClasspath, charsetName));
      }
docs: Read lines with rest or file path or classpath list.
  
  @param resourceWithRestOrFilePathOrClasspath the resource with rest or file path or classpath
  @param charsetName                           the charset name
  @return the list