public static class RewriteCond.ResourceCondition extends RewriteCond.Condition
Modifier and Type | Field | Description |
---|---|---|
int |
type |
0: -d (is directory ?)
1: -f (is regular file ?)
2: -s (is regular file with size ?)
|
Constructor | Description |
---|---|
ResourceCondition() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
evaluate(java.lang.String value,
Resolver resolver) |
public int type
public boolean evaluate(java.lang.String value, Resolver resolver)
evaluate
in class RewriteCond.Condition
Copyright © 2018. All rights reserved.