Searched defs:extension (Results 1 - 13 of 13) sorted by relevance

/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DMimeMappingDescriptor.java47 /*** I represent a mapping between a mime type and a file extension for specifiying how
53 private String extension; field in class:MimeMappingDescriptor
59 extension = other.extension;
63 /** Construct the mapping for the given extension to the given mime type. */
64 public MimeMappingDescriptor(String extension, String mimeType) { argument
65 this.extension = extension;
73 /** Return the filename extension for this mapping. */
75 if (this.extension
82 setExtension(String extension) argument
[all...]
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/web/
H A DMimeMapping.java44 * a mapping between a file extension and a mime type. */
48 public void setExtension(String extension); argument
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/connector/extension/
H A DCatalinaListener.java41 package com.sun.enterprise.web.connector.extension;
H A DGrizzlyConfig.java41 package com.sun.enterprise.web.connector.extension;
/glassfish-3.1.2/admin/rest/src/main/java/org/glassfish/admin/rest/resources/
H A DStaticResource.java98 private String getMime(String extension) { argument
100 if (extension.endsWith(mimes[i])) {
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DMimeMap.java162 * Gets the mime type corresponding to the given extension
164 * @param extension The mime extension
166 * @return The mime type corresponding to the given extension, or null if
167 * the given extension does not map to any mime type
169 String getType(String extension) { argument
172 ret = mimeMappings.get(extension);
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/archivist/
H A DExtensionsArchivist.java60 * An extension archivist is processing extensions deployment descriptors like
100 public <T extends RootDeploymentDescriptor> void addExtension(RootDeploymentDescriptor root, RootDeploymentDescriptor extension) { argument
101 root.addExtensionDescriptor(extension.getClass(), extension, null);
102 extension.setModuleDescriptor(root.getModuleDescriptor());
142 // if this extension archivist has no runtime DD, just return the
172 // we should ignore this extension configuration file
190 // we should ignore this extension configuration file
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/
H A DEnhancerModel.java138 * Creates a file with the given base file name and extension
143 * @param extension the file extension
151 String extension) throws IOException
150 createFile(String className, String baseFileName, String extension) argument
H A DRuntimeModel.java274 /** Creates a file with the given base file name and extension
278 * @param extension the file extension
284 String extension) throws IOException
288 baseFileName + extensionCharacter + extension);
302 file = new File(path.substring(0, index) + extension);
283 createFile(String className, String baseFileName, String extension) argument
H A DModel.java703 /** Computes the mapping file resource name (with extension) for the
706 * @return the mapping file resource name (with extension) for the supplied
716 /** Computes the base resource name (without extension) for the supplied
719 * @return the base resource name (without extension) for the supplied
728 /** Computes the mapping file name (with extension) for the supplied
731 * @return the mapping file name (with extension) for the supplied
742 /** Computes the base file name (without extension) for the supplied
745 * @return the base file name (without extension) for the supplied
1055 /** Creates a file with the given base file name and extension
1059 * @param extension th
1064 createFile(String className, String baseFileName, String extension) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-ejb/src/main/java/com/sun/jdo/spi/persistence/support/ejb/model/
H A DDeploymentDescriptorModel.java154 /** Creates a file with the given base file name and extension
163 * @param extension the file extension
169 String extension) throws IOException
172 super.createFile(className, baseFileName, extension);
168 createFile(String className, String baseFileName, String extension) argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/
H A DContext.java559 * the specified extension.
561 * @param extension Filename extension being mapped
564 void addMimeMapping(String extension, String mimeType); argument
853 * Return the MIME type to which the specified extension is mapped,
856 * @param extension Extension to map to a MIME type
858 String findMimeMapping(String extension); argument
1103 * Remove the MIME mapping for the specified extension, if it exists;
1106 * @param extension Extension to remove the mapping for
1108 void removeMimeMapping(String extension); argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DStandardContext.java399 * The MIME mappings for this web application, keyed by extension.
3010 * the specified extension.
3012 * @param extension Filename extension being mapped
3015 public void addMimeMapping(String extension, String mimeType) { argument
3017 mimeMappings.put(extension, mimeType);
3020 fireContainerEvent("addMimeMapping", extension);
3867 * Return the MIME type to which the specified extension is mapped,
3870 * @param extension Extension to map to a MIME type
3872 public String findMimeMapping(String extension) { argument
4405 removeMimeMapping(String extension) argument
[all...]

Completed in 86 milliseconds