public class GlobalHelpers extends Object
| Constructor and Description |
|---|
GlobalHelpers() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.jena.sparql.util.Context |
createWriterContext() |
static List<String> |
getFileList(String dir,
String ext) |
static byte[] |
getJsonBytes(Object obj) |
static String |
getTwoLettersBucket(String st) |
static String |
readFileContent(String filename) |
public static org.apache.jena.sparql.util.Context createWriterContext()
public static List<String> getFileList(String dir, String ext) throws IOException
IOExceptionpublic static String readFileContent(String filename) throws IOException
IOExceptionpublic static byte[] getJsonBytes(Object obj) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionCopyright © 2020. All rights reserved.