Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
H
I
L
N
O
R
S
T
W
A
AccessibleArchive
- class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
.
Representing an archive which is a directory or jar (zip).
AccessibleResource
- interface org.naftulin.classpathexplorer.
AccessibleResource
.
Represents an accessible resource: its location, last modified time, etc.
ArchiveFactory
- class org.naftulin.classpathexplorer.dublicate.imlp.
ArchiveFactory
.
Factory that creates subclasses of
AccessibleArchive
based on archives file extension.
ArchiveFactory()
- Constructor for class org.naftulin.classpathexplorer.dublicate.imlp.
ArchiveFactory
C
ClassPathExplorerFacade
- class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
.
Exposes useful methods of classexplorer package.
ClassPathExplorerFacade()
- Constructor for class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
createPath()
- Method in class org.naftulin.classpathexplorer.
DublicateResourceDetectorAntTask
Path - either an inline path or path like structure that tell the task which direcotries or jar (zip) files to scan for dublicate resrources.
D
DEBUG
- Static variable in class org.naftulin.logwrapper.
LogLevelAdaptor
DublicateResourceDetectorAntTask
- class org.naftulin.classpathexplorer.
DublicateResourceDetectorAntTask
.
Ant task that detects and reports dublicate resources.
DublicateResourceDetectorAntTask()
- Constructor for class org.naftulin.classpathexplorer.
DublicateResourceDetectorAntTask
DuplicateResourcesReport
- class org.naftulin.classpathexplorer.dublicate.imlp.
DuplicateResourcesReport
.
Finds dublicate resource in the class path (unless a different path is provided).
DuplicateResourcesReport()
- Constructor for class org.naftulin.classpathexplorer.dublicate.imlp.
DuplicateResourcesReport
E
equals(Object)
- Method in class org.naftulin.classpathexplorer.resourceinfo.impl.
ResourceInfo
ERROR
- Static variable in class org.naftulin.logwrapper.
LogLevelAdaptor
execute()
- Method in class org.naftulin.classpathexplorer.
DublicateResourceDetectorAntTask
Ant task that detects and reports dublicate resources.
G
getAccesptedExtensions()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
DuplicateResourcesReport
Returns the extensions that are accepted and only file ending with those ending will be reported to in dublicate reported.
getAccessibleResources()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Returns all of the resources in this archive or directory.
getAllDublicateResources()
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Returns dublicate resources.
getAllDublicateResourcesAsStringReport()
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Returns dublicate resources as string.
getAllDublicateResourcesAsXmlReport()
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Returns dublicate resources as xml.
getArchive()
- Method in interface org.naftulin.classpathexplorer.
AccessibleResource
Returns the archive the resource is located in.
getArchive()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Returns the archive the resource is located in.
getArchiveName()
- Method in class org.naftulin.classpathexplorer.stacktrace.impl.
StackTraceElementExtension
Returns the name of the archive the class resides in, or not found if class was not found.
getClassArchiveSource()
- Method in class org.naftulin.classpathexplorer.resourceinfo.impl.
ResourceInfo
Returns the archive the resource was read from.
getClassArchiveSource()
- Method in class org.naftulin.classpathexplorer.stacktrace.impl.
StackTraceElementExtension
Returns the file for archive for the class that this instance of the stack trace is describing.
getDublicateResources()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
DuplicateResourcesReport
Returns dublicate resources.
getDublicateResources(String[])
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
DuplicateResourcesReport
Returns dublicate resources given archives path.
getDublicateResourcesAsStringReport()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
DuplicateResourcesReport
Returns dublicate resources as string.
getDublicateResourcesAsXmlReport()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
DuplicateResourcesReport
Returns dublicate resources as xml string.
getExceptionDecorator(Exception)
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Returns exception that the stack trace with additional resource information.
getExceptionDecorator(Exception)
- Static method in class org.naftulin.classpathexplorer.stacktrace.impl.
StackTraceElementExtension
Returns exception that the stack trace with additional resource information.
getFileteredDublicateResources(String[])
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Returns dublicate resources only for file extensions specified.
getFileteredDublicateResourcesAsStringReport(String[])
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Returns dublicate resources in a form of report only for file extensions specified.
getFileteredDublicateResourcesAsXmlReport(String[])
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Returns dublicate resources in a form of XML report only for file extensions specified.
getFileteredDublicateResourcesBasedOnPath(String[], String[])
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Returns dublicate resources only for file extensions specified from class path provided.
getFullPath()
- Method in interface org.naftulin.classpathexplorer.
AccessibleResource
Returns the path for the resource.
getFullPath()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Returns the path for the resource.
getKey()
- Method in interface org.naftulin.classpathexplorer.
AccessibleResource
Returns a key for the resource.
getKey()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Returns the path, since for archives key is the path.
getLastModified()
- Method in interface org.naftulin.classpathexplorer.
AccessibleResource
Returns the last modified Date as long
getLastModified()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Returns the last modified Date as long
getLogger(Class)
- Static method in class org.naftulin.logwrapper.
LogAdapter
Retruns either Log4J logger or Java logger.
getName()
- Method in interface org.naftulin.classpathexplorer.
AccessibleResource
Returns the name of the resource.
getName()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Returns the name of the archive.
getPath()
- Method in interface org.naftulin.classpathexplorer.
AccessibleResource
Returns the path for the resource.
getPath()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Returns the path for the resource.
getResourceInfo(Class)
- Method in class org.naftulin.classpathexplorer.
ClassPathExplorerFacade
Given a class computes which archive it was loaded from and provides it's package information.
getResourceInfo(Class)
- Static method in class org.naftulin.classpathexplorer.resourceinfo.impl.
ResourceInfo
Given a class computes which archive it was loaded from and provides it's package information.
getResourceInfoForObject(Object)
- Static method in class org.naftulin.classpathexplorer.resourceinfo.impl.
ResourceInfo
Given an object cimputes which archive it was loaded from and provides it's package information.
getStackTraceElement()
- Method in class org.naftulin.classpathexplorer.stacktrace.impl.
StackTraceElementExtension
Returns the stack trace element.
H
hashCode()
- Method in class org.naftulin.classpathexplorer.resourceinfo.impl.
ResourceInfo
I
INFO
- Static variable in class org.naftulin.logwrapper.
LogLevelAdaptor
isDirectory()
- Method in class org.naftulin.classpathexplorer.stacktrace.impl.
StackTraceElementExtension
Returns true if the class described in this stack trace is loaded from directory.
L
log(LogAdapter, LogLevelAdaptor)
- Method in class org.naftulin.timespan.
TimeSpan
Prints a message: 'It took < timedif > miliseconds to finish the task < name >' to log
log(LogLevelAdaptor, String)
- Method in class org.naftulin.logwrapper.
LogAdapter
log(LogLevelAdaptor, String, Throwable)
- Method in class org.naftulin.logwrapper.
LogAdapter
LogAdapter
- class org.naftulin.logwrapper.
LogAdapter
.
Supports log4j and standard java logging.
LogAdapter()
- Constructor for class org.naftulin.logwrapper.
LogAdapter
LogLevelAdaptor
- class org.naftulin.logwrapper.
LogLevelAdaptor
.
Supports log4j and standard java logging levels Since this package has to be stand alone I have to support both log4j, since it's used on majority of the projects I've worked on and java standard logging if log4j is not present.
N
NOT_FOUND_RESOURCE_INFO
- Static variable in class org.naftulin.classpathexplorer.resourceinfo.impl.
ResourceInfo
O
org.naftulin.classpathexplorer
- package org.naftulin.classpathexplorer
org.naftulin.classpathexplorer.dublicate.imlp
- package org.naftulin.classpathexplorer.dublicate.imlp
org.naftulin.classpathexplorer.resourceinfo.impl
- package org.naftulin.classpathexplorer.resourceinfo.impl
org.naftulin.classpathexplorer.stacktrace.impl
- package org.naftulin.classpathexplorer.stacktrace.impl
org.naftulin.logwrapper
- package org.naftulin.logwrapper
org.naftulin.timespan
- package org.naftulin.timespan
R
ResourceInfo
- class org.naftulin.classpathexplorer.resourceinfo.impl.
ResourceInfo
.
Given a class or an object computes which archive it was loaded from.
S
setAcceptedExtensions(String)
- Method in class org.naftulin.classpathexplorer.
DublicateResourceDetectorAntTask
AccetedExtensions - tells which files to consider when reporting dublicates.
setAccesptedExtensions(String[])
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
DuplicateResourcesReport
Sets the extension that are accepted and only file ending with those ending will be reported to in dublicate reported.
setFailOnError(boolean)
- Method in class org.naftulin.classpathexplorer.
DublicateResourceDetectorAntTask
FailOnError - if there are more dublicate files than threshold alows, should the build fail.
setNumDublicateThreshold(int)
- Method in class org.naftulin.classpathexplorer.
DublicateResourceDetectorAntTask
NumDublicateThreshold - how many dublicates should the task ignore, before reporing problem.
setPath(Path)
- Method in class org.naftulin.classpathexplorer.
DublicateResourceDetectorAntTask
Path - either an inline path or path like structure that tell the task which direcotries or jar (zip) files to scan for dublicate resrources.
StackTraceElementExtension
- class org.naftulin.classpathexplorer.stacktrace.impl.
StackTraceElementExtension
.
Combines stack element with resource information.
StackTraceElementExtension(StackTraceElement)
- Constructor for class org.naftulin.classpathexplorer.stacktrace.impl.
StackTraceElementExtension
Creates a stack trace extension based on the stack trace element.
start()
- Method in class org.naftulin.timespan.
TimeSpan
Records start time.
stop()
- Method in class org.naftulin.timespan.
TimeSpan
Records stop time.
T
TimeSpan
- class org.naftulin.timespan.
TimeSpan
.
Reports the time passed between starting and finishing an action.
TimeSpan(String)
- Constructor for class org.naftulin.timespan.
TimeSpan
Creates times span class with a particular name for the task
toString()
- Method in interface org.naftulin.classpathexplorer.
AccessibleResource
Returns the string representation of the resource.
toString()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Supplies part of the toString implementation for the overwriting classes
toString()
- Method in class org.naftulin.classpathexplorer.stacktrace.impl.
StackTraceElementExtension
toXml()
- Method in interface org.naftulin.classpathexplorer.
AccessibleResource
Returns the xml representation of the resource.
toXml()
- Method in class org.naftulin.classpathexplorer.dublicate.imlp.
AccessibleArchive
Supplies part of the toXml implementation for the overwriting classes
W
WARN
- Static variable in class org.naftulin.logwrapper.
LogLevelAdaptor
A
C
D
E
G
H
I
L
N
O
R
S
T
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2006 Henry Naftulin. All Rights Reserved.