Code example for FileLock

Methods: isValid

0
     */ 
    public boolean isValid() {    // override 
 
        try { 
            return super.isValid() 
                   && (this.fileLock != null && this.fileLock.isValid());
        } catch (Exception e) {
            return false; 
        } 
    } 
 
    /** 
     * Retrieves the String value: "fileLock = " + {@link #fileLock FileLock}.<p> 
     * 
     * @return the String value: "fileLock = " + fileLock 
     */ 
    protected String toStringImpl() {    // override
        return "fileLock = " + this.fileLock;
    } 
 
Contextual code suggestions in your IDE  Get Codota for Java