public class JMRestfulResource extends Object
| Constructor and Description |
|---|
JMRestfulResource() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getStringWithRestOrClasspathOrFilePath(String resourceWithRestOrClasspathOrFilePath)
Gets string with rest or classpath or file path.
|
static String |
getStringWithRestOrClasspathOrFilePath(String resourceWithRestOrClasspathOrFilePath,
String charsetName)
Gets string with rest or classpath or file path.
|
static String |
getStringWithRestOrFilePathOrClasspath(String resourceWithRestOrFilePathOrClasspath)
Gets string with rest or file path or classpath.
|
static String |
getStringWithRestOrFilePathOrClasspath(String resourceWithRestOrFilePathOrClasspath,
String charsetName)
Gets string with rest or file path or classpath.
|
static List<String> |
readLinesWithRestOrClasspathOrFilePath(String resourceWithRestOrClasspathOrFilePath)
Read lines with rest or classpath or file path list.
|
static List<String> |
readLinesWithRestOrClasspathOrFilePath(String resourceWithRestOrClasspathOrFilePath,
String charsetName)
Read lines with rest or classpath or file path list.
|
static List<String> |
readLinesWithRestOrFilePathOrClasspath(String resourceWithRestOrFilePathOrClasspath)
Read lines with rest or file path or classpath list.
|
static List<String> |
readLinesWithRestOrFilePathOrClasspath(String resourceWithRestOrFilePathOrClasspath,
String charsetName)
Read lines with rest or file path or classpath list.
|
public static String getStringWithRestOrClasspathOrFilePath(String resourceWithRestOrClasspathOrFilePath, String charsetName)
resourceWithRestOrClasspathOrFilePath - the resource with rest or classpath or file pathcharsetName - the charset namepublic static String getStringWithRestOrClasspathOrFilePath(String resourceWithRestOrClasspathOrFilePath)
resourceWithRestOrClasspathOrFilePath - the resource with rest or classpath or file pathpublic static List<String> readLinesWithRestOrClasspathOrFilePath(String resourceWithRestOrClasspathOrFilePath, String charsetName)
resourceWithRestOrClasspathOrFilePath - the resource with rest or classpath or file pathcharsetName - the charset namepublic static List<String> readLinesWithRestOrClasspathOrFilePath(String resourceWithRestOrClasspathOrFilePath)
resourceWithRestOrClasspathOrFilePath - the resource with rest or classpath or file pathpublic static String getStringWithRestOrFilePathOrClasspath(String resourceWithRestOrFilePathOrClasspath, String charsetName)
resourceWithRestOrFilePathOrClasspath - the resource with rest or file path or classpathcharsetName - the charset namepublic static String getStringWithRestOrFilePathOrClasspath(String resourceWithRestOrFilePathOrClasspath)
resourceWithRestOrFilePathOrClasspath - the resource with rest or file path or classpathpublic static List<String> readLinesWithRestOrFilePathOrClasspath(String resourceWithRestOrFilePathOrClasspath, String charsetName)
resourceWithRestOrFilePathOrClasspath - the resource with rest or file path or classpathcharsetName - the charset namepublic static List<String> readLinesWithRestOrFilePathOrClasspath(String resourceWithRestOrFilePathOrClasspath)
resourceWithRestOrFilePathOrClasspath - the resource with rest or file path or classpathCopyright © 2018. All rights reserved.