Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Carrot2 project.
  * Copyright (C) 2002-2012, Dawid Weiss, Stanisław Osiński.
  * All rights reserved.
  * Refer to the full license file "carrot2.LICENSE"
  * in the root folder of the repository checkout or at:
package org.carrot2.util.attribute.constraint;
Requires that the provided object is an instance of and the path denoted by it is actually a file.
@IsConstraint(implementation = IsFileConstraint.class)
public @interface IsFile
If set to true, the provided object must be a File instance, and the file pointed to by it must exist. If set to false, only the type of the provided object is checked.
    boolean mustExist() default true;
New to GrepCode? Check out our FAQ X