public class MimeMapping<T extends MimeMapping<T>> extends Object
Constructor and Description |
---|
MimeMapping(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
value()
The mime type for this mapping
|
T |
value(String value)
The mime type for this mapping
|
public MimeMapping(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public String value()
Copyright © 2018 JBoss by Red Hat. All rights reserved.