Added hasFiletype.

This commit is contained in:
Robert Greene 2003-02-11 04:41:01 +00:00
parent 69a2013ea4
commit 4684395b20

View File

@ -46,6 +46,12 @@ public class ImportSpecification {
public int getAddress() {
return address;
}
/**
* Indicates if a filetype has been set.
*/
public boolean hasFiletype() {
return filetype != null && filetype.length() > 0;
}
/**
* Returns the filetype.
* @return String