Class SoFileSensor

    • Constructor Detail

      • SoFileSensor

        public SoFileSensor()
        Default constructor.
    • Method Detail

      • removeFile

        public void removeFile​(java.lang.String filename)
        Remove file from monitored list. If file is not being monitored, the method does nothing.
      • clearFiles

        public void clearFiles()
        Stop monitoring all previously registered files.
      • addFile

        public void addFile​(java.lang.String filename)
        Add file to be monitored. If file does not exist, the method does nothing.
      • getFilename

        public java.lang.String getFilename()
        Return changed file name.
        Note: Only valid when called from the callback function.