Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package com.sun.activation.registries;
 /*    */ 
 /*    */ public class MimeTypeEntry
 /*    */ {
 /*    */   private String type;
 /*    */   private String extension;
 /*    */ 
 /*    */   public MimeTypeEntry(String mime_typeString file_ext)
 /*    */   {
/* 37 */     this.type = mime_type;
/* 38 */     this.extension = file_ext;
/*    */   }
/*    */ 
/*    */   public String getMIMEType() {
/* 42 */     return this.type;
/*    */   }
/*    */ 
/*    */   public String getFileExtension() {
/* 46 */     return this.extension;
/*    */   }
/*    */ 
/*    */   public String toString() {
/* 50 */     return "MIMETypeEntry: " + this.type + ", " + this.extension;
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     com.sun.activation.registries.MimeTypeEntry
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X