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