public abstract class ContentItem extends Object
Modifier | Constructor and Description |
---|---|
protected |
ContentItem(String name,
byte[] contentHash,
ContentType contentType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getContentHash()
Get the content hash.
|
ContentType |
getContentType()
The content type.
|
String |
getName()
Get the content name.
|
abstract String |
getRelativePath()
Get a relative path or module description.
|
int |
hashCode() |
protected ContentItem(String name, byte[] contentHash, ContentType contentType)
public byte[] getContentHash()
public String getName()
public ContentType getContentType()
public abstract String getRelativePath()
Copyright © 2023 JBoss by Red Hat. All rights reserved.