Added hasFiletype.
This commit is contained in:
parent
69a2013ea4
commit
4684395b20
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue