test_class.declarator: logger = LoggerFactory.getLogger(FileUtilsTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = LoggerFactory.getLogger(FileUtilsTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.file: karate-core/src/test/java/com/intuit/karate/FileUtilsTest.java
test_class.identifier: FileUtilsTest
test_case.body: @Test
      public void testUsingKarateBase() throws Exception {
          String relativePath = "classpath:demo/jar1/caller.feature";
          ClassLoader cl = getJarClassLoader();
          Path path = FileUtils.fromRelativeClassPath(relativePath, cl);
          Resource resource = new Resource(path, relativePath, -1);
          Feature feature = FeatureParser.parse(resource);
          try {
              Map<String, Object> map = Runner.runFeature(feature, null, true);
              fail("we should not have reached here");
          } catch (Exception e) {
              assertTrue(e instanceof KarateException);
          }
      }
test_case.class_method_signature: FileUtilsTest.testUsingKarateBase()
test_case.full_signature: @Test public void testUsingKarateBase()
test_case.identifier: testUsingKarateBase
test_case.invocations: getJarClassLoader fromRelativeClassPath parse runFeature fail assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testUsingKarateBase()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(FileUtils.class)
focal_class.modifier: private static final
focal_class.original_string: private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(FileUtils.class);
focal_class.type: org.slf4j.Logger
focal_class.var_name: LOGGER
focal_class.declarator: UTF8 = StandardCharsets.UTF_8
focal_class.modifier: public static final
focal_class.original_string: public static final Charset UTF8 = StandardCharsets.UTF_8;
focal_class.type: Charset
focal_class.var_name: UTF8
focal_class.declarator: EMPTY_BYTES = new byte[]{}
focal_class.modifier: public static final
focal_class.original_string: public static final byte[] EMPTY_BYTES = new byte[]{};
focal_class.type: byte[]
focal_class.var_name: EMPTY_BYTES
focal_class.declarator: CLASSPATH = "classpath"
focal_class.modifier: private static final
focal_class.original_string: private static final String CLASSPATH = "classpath";
focal_class.type: String
focal_class.var_name: CLASSPATH
focal_class.declarator: CLASSPATH_COLON = CLASSPATH + ":"
focal_class.modifier: public static final
focal_class.original_string: public static final String CLASSPATH_COLON = CLASSPATH + ":";
focal_class.type: String
focal_class.var_name: CLASSPATH_COLON
focal_class.declarator: DOT_FEATURE = ".feature"
focal_class.modifier: private static final
focal_class.original_string: private static final String DOT_FEATURE = ".feature";
focal_class.type: String
focal_class.var_name: DOT_FEATURE
focal_class.declarator: THIS_COLON = "this:"
focal_class.modifier: public static final
focal_class.original_string: public static final String THIS_COLON = "this:";
focal_class.type: String
focal_class.var_name: THIS_COLON
focal_class.declarator: FILE_COLON = "file:"
focal_class.modifier: public static final
focal_class.original_string: public static final String FILE_COLON = "file:";
focal_class.type: String
focal_class.var_name: FILE_COLON
focal_class.declarator: SRC_TEST_JAVA = "src/test/java"
focal_class.modifier: public static final
focal_class.original_string: public static final String SRC_TEST_JAVA = "src/test/java";
focal_class.type: String
focal_class.var_name: SRC_TEST_JAVA
focal_class.declarator: SRC_TEST_RESOURCES = "src/test/resources"
focal_class.modifier: public static final
focal_class.original_string: public static final String SRC_TEST_RESOURCES = "src/test/resources";
focal_class.type: String
focal_class.var_name: SRC_TEST_RESOURCES
focal_class.declarator: UNKNOWN = "(unknown)"
focal_class.modifier: private static final
focal_class.original_string: private static final String UNKNOWN = "(unknown)";
focal_class.type: String
focal_class.var_name: UNKNOWN
focal_class.declarator: FILE_SYSTEM_CACHE = new HashMap()
focal_class.modifier: private static final
focal_class.original_string: private static final Map<URI, FileSystem> FILE_SYSTEM_CACHE = new HashMap();
focal_class.type: Map<URI, FileSystem>
focal_class.var_name: FILE_SYSTEM_CACHE
focal_class.file: karate-core/src/main/java/com/intuit/karate/FileUtils.java
focal_class.identifier: FileUtils
focal_class.class_method_signature: FileUtils.FileUtils()
focal_class.full_signature: private  FileUtils()
focal_class.identifier: FileUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  FileUtils()
focal_class.class_method_signature: FileUtils.isClassPath(String text)
focal_class.full_signature: public static final boolean isClassPath(String text)
focal_class.identifier: isClassPath
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isClassPath(String text)
focal_class.class_method_signature: FileUtils.isFilePath(String text)
focal_class.full_signature: public static final boolean isFilePath(String text)
focal_class.identifier: isFilePath
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isFilePath(String text)
focal_class.class_method_signature: FileUtils.isThisPath(String text)
focal_class.full_signature: public static final boolean isThisPath(String text)
focal_class.identifier: isThisPath
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isThisPath(String text)
focal_class.class_method_signature: FileUtils.isJsonFile(String text)
focal_class.full_signature: public static final boolean isJsonFile(String text)
focal_class.identifier: isJsonFile
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isJsonFile(String text)
focal_class.class_method_signature: FileUtils.isJavaScriptFile(String text)
focal_class.full_signature: public static final boolean isJavaScriptFile(String text)
focal_class.identifier: isJavaScriptFile
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isJavaScriptFile(String text)
focal_class.class_method_signature: FileUtils.isYamlFile(String text)
focal_class.full_signature: public static final boolean isYamlFile(String text)
focal_class.identifier: isYamlFile
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isYamlFile(String text)
focal_class.class_method_signature: FileUtils.isXmlFile(String text)
focal_class.full_signature: public static final boolean isXmlFile(String text)
focal_class.identifier: isXmlFile
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isXmlFile(String text)
focal_class.class_method_signature: FileUtils.isTextFile(String text)
focal_class.full_signature: public static final boolean isTextFile(String text)
focal_class.identifier: isTextFile
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isTextFile(String text)
focal_class.class_method_signature: FileUtils.isCsvFile(String text)
focal_class.full_signature: public static final boolean isCsvFile(String text)
focal_class.identifier: isCsvFile
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isCsvFile(String text)
focal_class.class_method_signature: FileUtils.isGraphQlFile(String text)
focal_class.full_signature: public static final boolean isGraphQlFile(String text)
focal_class.identifier: isGraphQlFile
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isGraphQlFile(String text)
focal_class.class_method_signature: FileUtils.isFeatureFile(String text)
focal_class.full_signature: public static final boolean isFeatureFile(String text)
focal_class.identifier: isFeatureFile
focal_class.modifiers: public static final
focal_class.parameters: (String text)
focal_class.return: boolean
focal_class.signature: boolean isFeatureFile(String text)
focal_class.class_method_signature: FileUtils.readFile(String text, ScenarioContext context)
focal_class.full_signature: public static ScriptValue readFile(String text, ScenarioContext context)
focal_class.identifier: readFile
focal_class.modifiers: public static
focal_class.parameters: (String text, ScenarioContext context)
focal_class.return: ScriptValue
focal_class.signature: ScriptValue readFile(String text, ScenarioContext context)
focal_class.class_method_signature: FileUtils.removePrefix(String text)
focal_class.full_signature: public static String removePrefix(String text)
focal_class.identifier: removePrefix
focal_class.modifiers: public static
focal_class.parameters: (String text)
focal_class.return: String
focal_class.signature: String removePrefix(String text)
focal_class.class_method_signature: FileUtils.parsePathAndTags(String text)
focal_class.full_signature: private static StringUtils.Pair parsePathAndTags(String text)
focal_class.identifier: parsePathAndTags
focal_class.modifiers: private static
focal_class.parameters: (String text)
focal_class.return: StringUtils.Pair
focal_class.signature: StringUtils.Pair parsePathAndTags(String text)
focal_class.class_method_signature: FileUtils.parseFeatureAndCallTag(String path)
focal_class.full_signature: public static Feature parseFeatureAndCallTag(String path)
focal_class.identifier: parseFeatureAndCallTag
focal_class.modifiers: public static
focal_class.parameters: (String path)
focal_class.return: Feature
focal_class.signature: Feature parseFeatureAndCallTag(String path)
focal_class.class_method_signature: FileUtils.toResource(String path, ScenarioContext context)
focal_class.full_signature: public static Resource toResource(String path, ScenarioContext context)
focal_class.identifier: toResource
focal_class.modifiers: public static
focal_class.parameters: (String path, ScenarioContext context)
focal_class.return: Resource
focal_class.signature: Resource toResource(String path, ScenarioContext context)
focal_class.class_method_signature: FileUtils.readFileAsString(String path, ScenarioContext context)
focal_class.full_signature: public static String readFileAsString(String path, ScenarioContext context)
focal_class.identifier: readFileAsString
focal_class.modifiers: public static
focal_class.parameters: (String path, ScenarioContext context)
focal_class.return: String
focal_class.signature: String readFileAsString(String path, ScenarioContext context)
focal_class.class_method_signature: FileUtils.readFileAsStream(String path, ScenarioContext context)
focal_class.full_signature: public static InputStream readFileAsStream(String path, ScenarioContext context)
focal_class.identifier: readFileAsStream
focal_class.modifiers: public static
focal_class.parameters: (String path, ScenarioContext context)
focal_class.return: InputStream
focal_class.signature: InputStream readFileAsStream(String path, ScenarioContext context)
focal_class.class_method_signature: FileUtils.toPackageQualifiedName(String path)
focal_class.full_signature: public static String toPackageQualifiedName(String path)
focal_class.identifier: toPackageQualifiedName
focal_class.modifiers: public static
focal_class.parameters: (String path)
focal_class.return: String
focal_class.signature: String toPackageQualifiedName(String path)
focal_class.class_method_signature: FileUtils.toString(File file)
focal_class.full_signature: public static String toString(File file)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: String
focal_class.signature: String toString(File file)
focal_class.class_method_signature: FileUtils.toString(InputStream is)
focal_class.full_signature: public static String toString(InputStream is)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (InputStream is)
focal_class.return: String
focal_class.signature: String toString(InputStream is)
focal_class.class_method_signature: FileUtils.toPrettyString(String raw)
focal_class.full_signature: public static String toPrettyString(String raw)
focal_class.identifier: toPrettyString
focal_class.modifiers: public static
focal_class.parameters: (String raw)
focal_class.return: String
focal_class.signature: String toPrettyString(String raw)
focal_class.class_method_signature: FileUtils.toBytes(InputStream is)
focal_class.full_signature: public static byte[] toBytes(InputStream is)
focal_class.identifier: toBytes
focal_class.modifiers: public static
focal_class.parameters: (InputStream is)
focal_class.return: byte[]
focal_class.signature: byte[] toBytes(InputStream is)
focal_class.class_method_signature: FileUtils.toByteStream(InputStream is)
focal_class.full_signature: private static ByteArrayOutputStream toByteStream(InputStream is)
focal_class.identifier: toByteStream
focal_class.modifiers: private static
focal_class.parameters: (InputStream is)
focal_class.return: ByteArrayOutputStream
focal_class.signature: ByteArrayOutputStream toByteStream(InputStream is)
focal_class.class_method_signature: FileUtils.toString(byte[] bytes)
focal_class.full_signature: public static String toString(byte[] bytes)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (byte[] bytes)
focal_class.return: String
focal_class.signature: String toString(byte[] bytes)
focal_class.class_method_signature: FileUtils.toBytes(String string)
focal_class.full_signature: public static byte[] toBytes(String string)
focal_class.identifier: toBytes
focal_class.modifiers: public static
focal_class.parameters: (String string)
focal_class.return: byte[]
focal_class.signature: byte[] toBytes(String string)
focal_class.class_method_signature: FileUtils.copy(File src, File dest)
focal_class.full_signature: public static void copy(File src, File dest)
focal_class.identifier: copy
focal_class.modifiers: public static
focal_class.parameters: (File src, File dest)
focal_class.return: void
focal_class.signature: void copy(File src, File dest)
focal_class.class_method_signature: FileUtils.writeToFile(File file, byte[] data)
focal_class.full_signature: public static void writeToFile(File file, byte[] data)
focal_class.identifier: writeToFile
focal_class.modifiers: public static
focal_class.parameters: (File file, byte[] data)
focal_class.return: void
focal_class.signature: void writeToFile(File file, byte[] data)
focal_class.class_method_signature: FileUtils.writeToFile(File file, String data)
focal_class.full_signature: public static void writeToFile(File file, String data)
focal_class.identifier: writeToFile
focal_class.modifiers: public static
focal_class.parameters: (File file, String data)
focal_class.return: void
focal_class.signature: void writeToFile(File file, String data)
focal_class.class_method_signature: FileUtils.toInputStream(String text)
focal_class.full_signature: public static InputStream toInputStream(String text)
focal_class.identifier: toInputStream
focal_class.modifiers: public static
focal_class.parameters: (String text)
focal_class.return: InputStream
focal_class.signature: InputStream toInputStream(String text)
focal_class.class_method_signature: FileUtils.removeFileExtension(String path)
focal_class.full_signature: public static String removeFileExtension(String path)
focal_class.identifier: removeFileExtension
focal_class.modifiers: public static
focal_class.parameters: (String path)
focal_class.return: String
focal_class.signature: String removeFileExtension(String path)
focal_class.class_method_signature: FileUtils.replaceFileExtension(String path, String extension)
focal_class.full_signature: public static String replaceFileExtension(String path, String extension)
focal_class.identifier: replaceFileExtension
focal_class.modifiers: public static
focal_class.parameters: (String path, String extension)
focal_class.return: String
focal_class.signature: String replaceFileExtension(String path, String extension)
focal_class.class_method_signature: FileUtils.getKarateVersion()
focal_class.full_signature: public static String getKarateVersion()
focal_class.identifier: getKarateVersion
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getKarateVersion()
focal_class.class_method_signature: FileUtils.renameFileIfZeroBytes(String fileName)
focal_class.full_signature: public static void renameFileIfZeroBytes(String fileName)
focal_class.identifier: renameFileIfZeroBytes
focal_class.modifiers: public static
focal_class.parameters: (String fileName)
focal_class.return: void
focal_class.signature: void renameFileIfZeroBytes(String fileName)
focal_class.class_method_signature: FileUtils.toStandardPath(String path)
focal_class.full_signature: public static String toStandardPath(String path)
focal_class.identifier: toStandardPath
focal_class.modifiers: public static
focal_class.parameters: (String path)
focal_class.return: String
focal_class.signature: String toStandardPath(String path)
focal_class.class_method_signature: FileUtils.toRelativeClassPath(Path path, ClassLoader cl)
focal_class.full_signature: public static String toRelativeClassPath(Path path, ClassLoader cl)
focal_class.identifier: toRelativeClassPath
focal_class.modifiers: public static
focal_class.parameters: (Path path, ClassLoader cl)
focal_class.return: String
focal_class.signature: String toRelativeClassPath(Path path, ClassLoader cl)
focal_class.class_method_signature: FileUtils.getDirContaining(Class clazz)
focal_class.full_signature: public static File getDirContaining(Class clazz)
focal_class.identifier: getDirContaining
focal_class.modifiers: public static
focal_class.parameters: (Class clazz)
focal_class.return: File
focal_class.signature: File getDirContaining(Class clazz)
focal_class.class_method_signature: FileUtils.getPathContaining(Class clazz)
focal_class.full_signature: public static Path getPathContaining(Class clazz)
focal_class.identifier: getPathContaining
focal_class.modifiers: public static
focal_class.parameters: (Class clazz)
focal_class.return: Path
focal_class.signature: Path getPathContaining(Class clazz)
focal_class.class_method_signature: FileUtils.packageAsPath(Class clazz)
focal_class.full_signature: private static String packageAsPath(Class clazz)
focal_class.identifier: packageAsPath
focal_class.modifiers: private static
focal_class.parameters: (Class clazz)
focal_class.return: String
focal_class.signature: String packageAsPath(Class clazz)
focal_class.class_method_signature: FileUtils.getFileRelativeTo(Class clazz, String path)
focal_class.full_signature: public static File getFileRelativeTo(Class clazz, String path)
focal_class.identifier: getFileRelativeTo
focal_class.modifiers: public static
focal_class.parameters: (Class clazz, String path)
focal_class.return: File
focal_class.signature: File getFileRelativeTo(Class clazz, String path)
focal_class.class_method_signature: FileUtils.toRelativeClassPath(Class clazz)
focal_class.full_signature: public static String toRelativeClassPath(Class clazz)
focal_class.identifier: toRelativeClassPath
focal_class.modifiers: public static
focal_class.parameters: (Class clazz)
focal_class.return: String
focal_class.signature: String toRelativeClassPath(Class clazz)
focal_class.class_method_signature: FileUtils.fromRelativeClassPath(String relativePath, ClassLoader cl)
focal_class.full_signature: public static Path fromRelativeClassPath(String relativePath, ClassLoader cl)
focal_class.identifier: fromRelativeClassPath
focal_class.modifiers: public static
focal_class.parameters: (String relativePath, ClassLoader cl)
focal_class.return: Path
focal_class.signature: Path fromRelativeClassPath(String relativePath, ClassLoader cl)
focal_class.class_method_signature: FileUtils.fromRelativeClassPath(String relativePath, Path parentPath)
focal_class.full_signature: public static Path fromRelativeClassPath(String relativePath, Path parentPath)
focal_class.identifier: fromRelativeClassPath
focal_class.modifiers: public static
focal_class.parameters: (String relativePath, Path parentPath)
focal_class.return: Path
focal_class.signature: Path fromRelativeClassPath(String relativePath, Path parentPath)
focal_class.class_method_signature: FileUtils.scanForFeatureFilesOnClassPath(ClassLoader cl)
focal_class.full_signature: public static List<Resource> scanForFeatureFilesOnClassPath(ClassLoader cl)
focal_class.identifier: scanForFeatureFilesOnClassPath
focal_class.modifiers: public static
focal_class.parameters: (ClassLoader cl)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> scanForFeatureFilesOnClassPath(ClassLoader cl)
focal_class.class_method_signature: FileUtils.scanForFeatureFiles(List<String> paths, ClassLoader cl)
focal_class.full_signature: public static List<Resource> scanForFeatureFiles(List<String> paths, ClassLoader cl)
focal_class.identifier: scanForFeatureFiles
focal_class.modifiers: public static
focal_class.parameters: (List<String> paths, ClassLoader cl)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> scanForFeatureFiles(List<String> paths, ClassLoader cl)
focal_class.class_method_signature: FileUtils.scanForFeatureFiles(List<String> paths, Class clazz)
focal_class.full_signature: public static List<Resource> scanForFeatureFiles(List<String> paths, Class clazz)
focal_class.identifier: scanForFeatureFiles
focal_class.modifiers: public static
focal_class.parameters: (List<String> paths, Class clazz)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> scanForFeatureFiles(List<String> paths, Class clazz)
focal_class.class_method_signature: FileUtils.isJarPath(URI uri)
focal_class.full_signature: public static boolean isJarPath(URI uri)
focal_class.identifier: isJarPath
focal_class.modifiers: public static
focal_class.parameters: (URI uri)
focal_class.return: boolean
focal_class.signature: boolean isJarPath(URI uri)
focal_class.class_method_signature: FileUtils.urlToPath(URL url, String relativePath)
focal_class.full_signature: public static Path urlToPath(URL url, String relativePath)
focal_class.identifier: urlToPath
focal_class.modifiers: public static
focal_class.parameters: (URL url, String relativePath)
focal_class.return: Path
focal_class.signature: Path urlToPath(URL url, String relativePath)
focal_class.class_method_signature: FileUtils.getAllClassPathUrls(ClassLoader classLoader)
focal_class.full_signature: public static List<URL> getAllClassPathUrls(ClassLoader classLoader)
focal_class.identifier: getAllClassPathUrls
focal_class.modifiers: public static
focal_class.parameters: (ClassLoader classLoader)
focal_class.return: List<URL>
focal_class.signature: List<URL> getAllClassPathUrls(ClassLoader classLoader)
focal_class.class_method_signature: FileUtils.getFileSystem(URI uri)
focal_class.full_signature: private static FileSystem getFileSystem(URI uri)
focal_class.identifier: getFileSystem
focal_class.modifiers: private static
focal_class.parameters: (URI uri)
focal_class.return: FileSystem
focal_class.signature: FileSystem getFileSystem(URI uri)
focal_class.class_method_signature: FileUtils.scanForFeatureFiles(boolean classpath, String searchPath, ClassLoader cl)
focal_class.full_signature: public static List<Resource> scanForFeatureFiles(boolean classpath, String searchPath, ClassLoader cl)
focal_class.identifier: scanForFeatureFiles
focal_class.modifiers: public static
focal_class.parameters: (boolean classpath, String searchPath, ClassLoader cl)
focal_class.return: List<Resource>
focal_class.signature: List<Resource> scanForFeatureFiles(boolean classpath, String searchPath, ClassLoader cl)
focal_class.class_method_signature: FileUtils.collectFeatureFiles(URL url, String searchPath, List<Resource> files)
focal_class.full_signature: private static void collectFeatureFiles(URL url, String searchPath, List<Resource> files)
focal_class.identifier: collectFeatureFiles
focal_class.modifiers: private static
focal_class.parameters: (URL url, String searchPath, List<Resource> files)
focal_class.return: void
focal_class.signature: void collectFeatureFiles(URL url, String searchPath, List<Resource> files)
focal_class.class_method_signature: FileUtils.getBuildDir()
focal_class.full_signature: public static String getBuildDir()
focal_class.identifier: getBuildDir
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getBuildDir()
focal_class.class_method_signature: FileUtils.isOsWindows()
focal_class.full_signature: public static boolean isOsWindows()
focal_class.identifier: isOsWindows
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isOsWindows()
focal_class.class_method_signature: FileUtils.isOsMacOsX()
focal_class.full_signature: public static boolean isOsMacOsX()
focal_class.identifier: isOsMacOsX
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isOsMacOsX()
focal_class.class_method_signature: FileUtils.getOsName()
focal_class.full_signature: public static String getOsName()
focal_class.identifier: getOsName
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getOsName()
focal_class.class_method_signature: FileUtils.getOsType()
focal_class.full_signature: public static OsType getOsType()
focal_class.identifier: getOsType
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: OsType
focal_class.signature: OsType getOsType()
focal_class.class_method_signature: FileUtils.getOsType(String name)
focal_class.full_signature: public static OsType getOsType(String name)
focal_class.identifier: getOsType
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: OsType
focal_class.signature: OsType getOsType(String name)
focal_method.body: public static Path fromRelativeClassPath(String relativePath, ClassLoader cl) {
          relativePath = removePrefix(relativePath);
          URL url = cl.getResource(relativePath);
          if (url == null) {
              throw new RuntimeException("file does not exist: " + relativePath);
          }
          return urlToPath(url, relativePath);
      }
focal_method.class_method_signature: FileUtils.fromRelativeClassPath(String relativePath, ClassLoader cl)
focal_method.full_signature: public static Path fromRelativeClassPath(String relativePath, ClassLoader cl)
focal_method.identifier: fromRelativeClassPath
focal_method.invocations: removePrefix getResource urlToPath
focal_method.modifiers: public static
focal_method.parameters: (String relativePath, ClassLoader cl)
focal_method.return: Path
focal_method.signature: Path fromRelativeClassPath(String relativePath, ClassLoader cl)