org.apache.continuum.purge.repository.utils
Class FileTypes

java.lang.Object
  extended by org.apache.continuum.purge.repository.utils.FileTypes

public class FileTypes
extends Object

Codes were taken from Archiva and made some changes.


Field Summary
static List<String> DEFAULT_EXCLUSIONS
           
 
Constructor Summary
FileTypes()
           
 
Method Summary
 List<String> getArtifactFileTypePatterns()
           
 List<String> getIgnoredFileTypePatterns()
           
 boolean matchesArtifactPattern(String relativePath)
           
 boolean matchesDefaultExclusions(String relativePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_EXCLUSIONS

public static final List<String> DEFAULT_EXCLUSIONS
Constructor Detail

FileTypes

public FileTypes()
Method Detail

getIgnoredFileTypePatterns

public List<String> getIgnoredFileTypePatterns()

getArtifactFileTypePatterns

public List<String> getArtifactFileTypePatterns()

matchesArtifactPattern

public boolean matchesArtifactPattern(String relativePath)

matchesDefaultExclusions

public boolean matchesDefaultExclusions(String relativePath)


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.