Modifier and Type | Class and Description |
---|---|
static class |
TestComponent.FileAttributesImpl |
Component.FileAttributes, Component.Type
Constructor and Description |
---|
TestComponent(java.lang.String key,
Component.Type type,
Component.FileAttributes fileAttributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Component.FileAttributes |
getFileAttributes()
The attributes of the Component if it's type is File.
|
java.lang.String |
getKey() |
Component.Type |
getType() |
int |
hashCode() |
java.lang.String |
toString() |
public TestComponent(java.lang.String key, Component.Type type, @Nullable Component.FileAttributes fileAttributes)
public Component.Type getType()
public Component.FileAttributes getFileAttributes()
Component
getFileAttributes
in interface Component
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object