test_class.declarator: localTempPath
test_class.modifier: private
test_class.original_string: private Path localTempPath;
test_class.type: Path
test_class.var_name: localTempPath
test_class.file: herd-code/herd-core/src/test/java/org/finra/herd/core/HerdFileUtilsTest.java
test_class.identifier: HerdFileUtilsTest
test_class.superclass: extends AbstractCoreTest
test_case.body: @Test
      public void testVerifyFileExistsAndReadable() throws IOException
      {
          File testFile = createLocalFile(localTempPath.toString(), "SOME_FILE", FILE_SIZE_1_KB);
          HerdFileUtils.verifyFileExistsAndReadable(testFile);
      }
test_case.class_method_signature: HerdFileUtilsTest.testVerifyFileExistsAndReadable()
test_case.full_signature: @Test public void testVerifyFileExistsAndReadable()
test_case.identifier: testVerifyFileExistsAndReadable
test_case.invocations: createLocalFile toString verifyFileExistsAndReadable
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testVerifyFileExistsAndReadable()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(HerdFileUtils.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(HerdFileUtils.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: BYTES_PER_GB = 1073741824L
focal_class.modifier: public static final
focal_class.original_string: public static final long BYTES_PER_GB = 1073741824L;
focal_class.type: long
focal_class.var_name: BYTES_PER_GB
focal_class.file: herd-code/herd-core/src/main/java/org/finra/herd/core/HerdFileUtils.java
focal_class.identifier: HerdFileUtils
focal_class.class_method_signature: HerdFileUtils.verifyFileExistsAndReadable(File file)
focal_class.full_signature: public static void verifyFileExistsAndReadable(File file)
focal_class.identifier: verifyFileExistsAndReadable
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: void
focal_class.signature: void verifyFileExistsAndReadable(File file)
focal_class.class_method_signature: HerdFileUtils.cleanDirectoryIgnoreException(File directory)
focal_class.full_signature: public static void cleanDirectoryIgnoreException(File directory)
focal_class.identifier: cleanDirectoryIgnoreException
focal_class.modifiers: public static
focal_class.parameters: (File directory)
focal_class.return: void
focal_class.signature: void cleanDirectoryIgnoreException(File directory)
focal_class.class_method_signature: HerdFileUtils.deleteDirectoryIgnoreException(File directory)
focal_class.full_signature: public static void deleteDirectoryIgnoreException(File directory)
focal_class.identifier: deleteDirectoryIgnoreException
focal_class.modifiers: public static
focal_class.parameters: (File directory)
focal_class.return: void
focal_class.signature: void deleteDirectoryIgnoreException(File directory)
focal_class.class_method_signature: HerdFileUtils.deleteFileIgnoreException(File file)
focal_class.full_signature: public static void deleteFileIgnoreException(File file)
focal_class.identifier: deleteFileIgnoreException
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: void
focal_class.signature: void deleteFileIgnoreException(File file)
focal_class.superclass: extends FileUtils
focal_method.body: public static void verifyFileExistsAndReadable(File file)
      {
          if (!file.exists())
          {
              throw new IllegalArgumentException("File \"" + file.getName() + "\" doesn't exist.");
          }
          if (!file.isFile())
          {
              throw new IllegalArgumentException("File \"" + file.getName() + "\" is not a valid file that can be read as a manifest. Is it a directory?");
          }
          if (!file.canRead())
          {
              throw new IllegalArgumentException("Unable to read file \"" + file.getName() + "\". Check permissions.");
          }
      }
focal_method.class_method_signature: HerdFileUtils.verifyFileExistsAndReadable(File file)
focal_method.full_signature: public static void verifyFileExistsAndReadable(File file)
focal_method.identifier: verifyFileExistsAndReadable
focal_method.invocations: exists getName isFile getName canRead getName
focal_method.modifiers: public static
focal_method.parameters: (File file)
focal_method.return: void
focal_method.signature: void verifyFileExistsAndReadable(File file)