Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.archive.crawler.writer
Class MirrorWriterProcessor.PathSegment.CaseInsensitiveFilenameFilter

    java.lang.Object
      org.archive.crawler.writer.MirrorWriterProcessor.PathSegment.CaseInsensitiveFilenameFilter

All Implemented Interfaces:
  java.io.FilenameFilter

Enclosing class:
  MirrorWriterProcessor.PathSegment

     class MirrorWriterProcessor.PathSegment.CaseInsensitiveFilenameFilter

extends java.lang.Object
implements java.io.FilenameFilter

This class implements a FilenameFilter that matches by name, ignoring case.

Constructor Summary
`MirrorWriterProcessor.PathSegment.CaseInsensitiveFilenameFilter(java.lang.String target)` Creates a CaseInsensitiveFilenameFilter.

Method Summary
`boolean` | `accept(java.io.File dir, java.lang.String name)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MirrorWriterProcessor.PathSegment.CaseInsensitiveFilenameFilter

    MirrorWriterProcessor.PathSegment.CaseInsensitiveFilenameFilter(java.lang.String target)

  Creates a CaseInsensitiveFilenameFilter.

  Parameters:
    `target` - the target file name
  Throws:
    `java.lang.IllegalArgumentException` - if target is null or empty.

Method Detail

### accept

    public boolean accept(java.io.File dir,
                          java.lang.String name)

  Specified by:
    `accept` in interface `java.io.FilenameFilter`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2008 Internet Archive. All Rights Reserved.