Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
E
F
G
H
I
M
O
P
R
S
T
A
addClasspath(FileSet)
- Method in class com.atlassian.modzdetector.ant.
GenerateRegistryTask
addFilesystem(FileSet)
- Method in class com.atlassian.modzdetector.ant.
GenerateRegistryTask
Adler32HashAlgorithm
- Class in
com.atlassian.modzdetector
Adler-32 checksumming implementation.
Adler32HashAlgorithm()
- Constructor for class com.atlassian.modzdetector.
Adler32HashAlgorithm
append(Modifications)
- Method in class com.atlassian.modzdetector.
Modifications
C
closeQuietly(InputStream)
- Static method in class com.atlassian.modzdetector.
IOUtils
com.atlassian.modzdetector
- package com.atlassian.modzdetector
com.atlassian.modzdetector.ant
- package com.atlassian.modzdetector.ant
copy(InputStream, OutputStream)
- Static method in class com.atlassian.modzdetector.
IOUtils
copyLarge(InputStream, OutputStream)
- Static method in class com.atlassian.modzdetector.
IOUtils
E
execute()
- Method in class com.atlassian.modzdetector.ant.
GenerateRegistryTask
F
FilesystemStreamMapper
- Class in
com.atlassian.modzdetector
Implements a mapping for streams that are only ever loaded from a filesystem rooted at a specific configured directory.
FilesystemStreamMapper(File, FileFilter)
- Constructor for class com.atlassian.modzdetector.
FilesystemStreamMapper
Constructor that provides the base directory.
G
GenerateRegistryTask
- Class in
com.atlassian.modzdetector.ant
Ant task for the creation of the registry.
GenerateRegistryTask()
- Constructor for class com.atlassian.modzdetector.ant.
GenerateRegistryTask
getAddedFiles(File)
- Method in class com.atlassian.modzdetector.
ModzDetector
Gets a report of what files were added using the default registry file, loaded off the classpath.
getAddedFiles(InputStream, File, FileFilter)
- Method in class com.atlassian.modzdetector.
ModzDetector
Searches the given root directory for all file paths beneath it that are not registered.
getHash(InputStream)
- Method in class com.atlassian.modzdetector.
Adler32HashAlgorithm
getHash(byte[])
- Method in class com.atlassian.modzdetector.
Adler32HashAlgorithm
getHash(InputStream)
- Method in interface com.atlassian.modzdetector.
HashAlgorithm
getHash(byte[])
- Method in interface com.atlassian.modzdetector.
HashAlgorithm
getHash(InputStream)
- Method in class com.atlassian.modzdetector.
MD5HashAlgorithm
getHash(byte[])
- Method in class com.atlassian.modzdetector.
MD5HashAlgorithm
getModifiedFiles()
- Method in class com.atlassian.modzdetector.
ModzDetector
Gets a report of what files were modified using the default registry file, loaded off the classpath.
getModifiedFiles(InputStream)
- Method in class com.atlassian.modzdetector.
ModzDetector
Gets a report of what files were modified using the registry in the given registryStream.
getResourceByPath(String)
- Method in interface com.atlassian.modzdetector.
ResourceAccessor
Gets an InputStream registered by a filesystem path.
getResourceFromClasspath(String)
- Method in interface com.atlassian.modzdetector.
ResourceAccessor
Gets an InputStream from the classpath.
getResourceKey(File)
- Method in class com.atlassian.modzdetector.
FilesystemStreamMapper
getResourceKey(File)
- Method in interface com.atlassian.modzdetector.
StreamMapper
Given a file creates a resource key that would correspond to this file
getResourcePath(String)
- Method in class com.atlassian.modzdetector.
FilesystemStreamMapper
getResourcePath(String)
- Method in interface com.atlassian.modzdetector.
StreamMapper
Given a resource name returns a file path to this resource.
H
HashAlgorithm
- Interface in
com.atlassian.modzdetector
Represents the mechanism for hashing used by the registry.
HashRegistry
- Class in
com.atlassian.modzdetector
Represents a stateful hash registry to which resources can be cumulatively added using
HashRegistry.register(String, java.io.InputStream)
.
HashRegistry()
- Constructor for class com.atlassian.modzdetector.
HashRegistry
Constructor using default algorithm and file name.
HashRegistry(String)
- Constructor for class com.atlassian.modzdetector.
HashRegistry
HashRegistry(HashAlgorithm, String)
- Constructor for class com.atlassian.modzdetector.
HashRegistry
Creates a HashRegistry that uses the given algorithm and filename.
I
IOUtils
- Class in
com.atlassian.modzdetector
A few utility methods for I/O.
IOUtils()
- Constructor for class com.atlassian.modzdetector.
IOUtils
M
mapStream(String, String)
- Method in class com.atlassian.modzdetector.
FilesystemStreamMapper
mapStream(String, String)
- Method in interface com.atlassian.modzdetector.
StreamMapper
Gets the input stream for the resource registered with the given name and prefix.
MD5HashAlgorithm
- Class in
com.atlassian.modzdetector
MD5 hash algorithm.
MD5HashAlgorithm()
- Constructor for class com.atlassian.modzdetector.
MD5HashAlgorithm
Modifications
- Class in
com.atlassian.modzdetector
A data class to hold the modifications and removals summary.
Modifications()
- Constructor for class com.atlassian.modzdetector.
Modifications
modifiedFiles
- Variable in class com.atlassian.modzdetector.
Modifications
ModzDetector
- Class in
com.atlassian.modzdetector
Provides a service to determine whether resource content has been modified compared to a registry.
ModzDetector(ResourceAccessor)
- Constructor for class com.atlassian.modzdetector.
ModzDetector
ModzDetector(ResourceAccessor, HashAlgorithm)
- Constructor for class com.atlassian.modzdetector.
ModzDetector
ModzDetector(ResourceAccessor, HashAlgorithm, StreamMapper)
- Constructor for class com.atlassian.modzdetector.
ModzDetector
ModzRegistryException
- Exception in
com.atlassian.modzdetector
Top level exception category for errors specific to the modz detector.
ModzRegistryException(String)
- Constructor for exception com.atlassian.modzdetector.
ModzRegistryException
ModzRegistryException(String, Throwable)
- Constructor for exception com.atlassian.modzdetector.
ModzRegistryException
O
OPEN_FILTER
- Static variable in class com.atlassian.modzdetector.
ModzDetector
P
PREFIX_CLASSPATH
- Static variable in class com.atlassian.modzdetector.
HashRegistry
Indicates that the name is registered as a classpath resource.
PREFIX_FILESYSTEM
- Static variable in class com.atlassian.modzdetector.
HashRegistry
Indicates that the name is registered as a filesystem resource.
R
register(String, InputStream)
- Method in class com.atlassian.modzdetector.
HashRegistry
Registers a hash for the resource with the given name and contents.
registerFilesystem(File, FileFilter)
- Method in class com.atlassian.modzdetector.
HashRegistry
Registers a whole filesystem under the given root for each file that matches filter.
registerFilesystm(File)
- Method in class com.atlassian.modzdetector.
HashRegistry
Registers a whole filesystem under the given root.
removedFiles
- Variable in class com.atlassian.modzdetector.
Modifications
ResourceAccessor
- Interface in
com.atlassian.modzdetector
Allows the detector to find the actual items for comparison, either via the filesystem or the classloader.
S
setClasspathMode()
- Method in class com.atlassian.modzdetector.
HashRegistry
setFilesystemMode()
- Method in class com.atlassian.modzdetector.
HashRegistry
setName(String)
- Method in class com.atlassian.modzdetector.ant.
GenerateRegistryTask
store()
- Method in class com.atlassian.modzdetector.
HashRegistry
Writes the registry to a file with the configured name.
StreamMapper
- Interface in
com.atlassian.modzdetector
An abstraction of the logic that chooses how to acquire a resource's
InputStream
by name and resource type prefix.
T
toByteArray(InputStream)
- Static method in class com.atlassian.modzdetector.
IOUtils
toString()
- Method in class com.atlassian.modzdetector.
Adler32HashAlgorithm
toString(InputStream)
- Static method in class com.atlassian.modzdetector.
IOUtils
toString()
- Method in class com.atlassian.modzdetector.
MD5HashAlgorithm
A
C
E
F
G
H
I
M
O
P
R
S
T
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2011
Atlassian
. All Rights Reserved.