public class Sources extends Object implements Verifiable
| Constructor and Description |
|---|
Sources() |
Sources(String orderBy) |
Sources(String orderBy,
String sort) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(CfgFile file) |
void |
addFiles(Collection<CfgFile> files) |
List<CfgFile> |
getFiles() |
List<CfgFile> |
getFilesOverLimit(long limit) |
List<CfgFile> |
getFilesUnderLimit(long limit) |
int |
getFileUsage(File f) |
Listener |
getListener() |
boolean |
hasFileOverLimit(long limit) |
void |
setListener(Listener listener) |
void |
verify()
Réalise les vérifications nécessaires sur l'instance, et jette une exception en cas de problème
|
public Sources(String orderBy, String sort) throws InvalidSyntaxException
InvalidSyntaxExceptionpublic Sources(String orderBy) throws InvalidSyntaxException
InvalidSyntaxExceptionpublic Sources()
throws InvalidSyntaxException
InvalidSyntaxExceptionpublic void addFile(CfgFile file)
public void addFiles(Collection<CfgFile> files)
public int getFileUsage(File f)
public void verify()
throws InvalidSyntaxException
Verifiableverify in interface VerifiableInvalidSyntaxException - If something is wrongpublic boolean hasFileOverLimit(long limit)
public Listener getListener()
public void setListener(Listener listener)
Copyright © 2017. All rights reserved.