Class FileProber


  • @API(type=INTERNAL,
         src=PUBLIC)
    public class FileProber
    extends java.lang.Object
    Class that checks if a file exists.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FileProber.Status
      The status of the file.
    • Constructor Summary

      Constructors 
      Constructor Description
      FileProber()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FileProber.Status exists​(java.net.URL fileUrl)
      Check if a file exists.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileProber

        public FileProber()
    • Method Detail

      • exists

        public FileProber.Status exists​(java.net.URL fileUrl)
        Check if a file exists.
        Parameters:
        fileUrl - The file URL.
        Returns:
        the status of the file.