source: vlo/trunk/vlo_webapp/src/main/java/eu/clarin/cmdi/vlo/importer/Resource.java @ 1007

Last change on this file since 1007 was 1007, checked in by patdui, 13 years ago
  • added resourceType facet and added a list of resources on the show result page.
  • added i18n properties
  • fixed some olac facets supporting multiple patterns to match a facet
File size: 447 bytes
Line 
1package eu.clarin.cmdi.vlo.importer;
2
3public class Resource {
4
5    private final String resourceName;
6    private final String mimeType;
7
8    public Resource(String resourceName, String mimeType) {
9        this.resourceName = resourceName;
10        this.mimeType = mimeType == "" ? null : mimeType;
11    }
12
13    public String getResourceName() {
14        return resourceName;
15    }
16
17    public String getMimeType() {
18        return mimeType;
19    }
20
21}
Note: See TracBrowser for help on using the repository browser.