FileDocCategorySizeDatePackage
CompressedFileView.javaAPI DocExample1054Sun Mar 28 19:08:30 BST 1999None

CompressedFileView

public class CompressedFileView extends FileView

Fields Summary
ImageIcon
zipIcon
ImageIcon
gzipIcon
ImageIcon
deflateIcon
Constructors Summary
Methods Summary
public java.lang.StringgetDescription(java.io.File f)

    return null;
  
public javax.swing.IcongetIcon(java.io.File f)

  
    if (f.getName().endsWith(".zip")) return zipIcon;
    if (f.getName().endsWith(".gz")) return gzipIcon;
    if (f.getName().endsWith(".dfl")) return deflateIcon;
    return null;
    
  
public java.lang.StringgetName(java.io.File f)

    
      
    return f.getName();
  
public java.lang.StringgetTypeDescription(java.io.File f)

   
    if (f.getName().endsWith(".zip")) return "Zip archive";
    if (f.getName().endsWith(".gz")) return "Gzipped file";
    if (f.getName().endsWith(".dfl")) return "Deflated file";
    return null;
    
  
public java.lang.BooleanisTraversable(java.io.File f)

    return null;