Package | Description |
---|---|
org.netbeans.api.editor.mimelookup | |
org.netbeans.spi.editor.mimelookup |
The SPI allows registering providers of mime type specific
Lookup s. |
Modifier and Type | Field and Description |
---|---|
static MimePath |
MimePath.EMPTY
The root of all mime paths.
|
Modifier and Type | Method and Description |
---|---|
static MimePath |
MimePath.get(MimePath prefix,
String mimeType)
Gets the mime path corresponding to a mime type embedded in another
mime type.
|
static MimePath |
MimePath.get(String mimeType)
Gets the mime path for the given mime type.
|
MimePath |
MimePath.getPrefix(int size)
Return prefix mime-path with the given number of mime-type components
ranging from zero till the size of this mime-path.
|
static MimePath |
MimePath.parse(String path)
Parses a mime path string and returns its
MimePath representation. |
Modifier and Type | Method and Description |
---|---|
static MimePath |
MimePath.get(MimePath prefix,
String mimeType)
Gets the mime path corresponding to a mime type embedded in another
mime type.
|
static Lookup |
MimeLookup.getLookup(MimePath mimePath)
Gets a
Lookup implementation that exposes objects specific
for the given MimePath . |
Modifier and Type | Method and Description |
---|---|
Lookup |
MimeDataProvider.getLookup(MimePath mimePath)
Retrieves a
Lookup for the given MimePath . |