A B C D E F G H I L M N O P R S T W

A

AbstractLogEnabled - class org.apache.cocoon.util.AbstractLogEnabled.
Support for logging.
AbstractLogEnabled() - Constructor for class org.apache.cocoon.util.AbstractLogEnabled
 
absolutize(String, String) - Static method in class org.apache.cocoon.util.NetUtils
Absolutize a relative resource path on the given absolute base path.
add(Object) - Method in class org.apache.cocoon.util.ResizableContainer
 
available() - Method in class org.apache.cocoon.util.PostInputStream
Returns the number of bytes available from this input stream that can be read without the stream blocking.

B

BufferedOutputStream - class org.apache.cocoon.util.BufferedOutputStream.
This class is like the BufferedOutputStream but it extends it with a logic to count the number of bytes written to the output stream.
BufferedOutputStream(OutputStream) - Constructor for class org.apache.cocoon.util.BufferedOutputStream
Creates a new buffered output stream to write data to the specified underlying output stream with a default 8192-byte buffer size.
BufferedOutputStream(OutputStream, int) - Constructor for class org.apache.cocoon.util.BufferedOutputStream
Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.
ByteRange - class org.apache.cocoon.util.ByteRange.
 
ByteRange(long, long) - Constructor for class org.apache.cocoon.util.ByteRange
 
ByteRange(String) - Constructor for class org.apache.cocoon.util.ByteRange
 
baseName(String) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3
buf - Variable in class org.apache.cocoon.util.BufferedOutputStream
 
bytesToObject(byte[]) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3

C

CLASS - Static variable in class org.apache.cocoon.util.PostInputStream
Class name
CLLoggerWrapper - class org.apache.cocoon.util.avalon.CLLoggerWrapper.
Commons Logging to Avalon Logger adapter.
CLLoggerWrapper(Log) - Constructor for class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
ClassUtils - class org.apache.cocoon.util.ClassUtils.
A collection of class management utility methods.
ClassUtils() - Constructor for class org.apache.cocoon.util.ClassUtils
 
ConfigurationUtil - class org.apache.cocoon.util.ConfigurationUtil.
This class is an improved version of the Excalibur ConfigurationUtil class to support namespaces in DOMs.
checkOpen() - Method in class org.apache.cocoon.util.PostInputStream
Checks to see if this stream is closed; if it is, an IOException is thrown.
clearBuffer() - Method in class org.apache.cocoon.util.BufferedOutputStream
Clear/reset the buffer
close() - Method in class org.apache.cocoon.util.BufferedOutputStream
Closes this buffered output stream.
close() - Method in class org.apache.cocoon.util.PostInputStream
Closes this input stream by closing the underlying stream and marking this one as closed.
comment - Variable in class org.apache.cocoon.util.ImageProperties
 
count - Variable in class org.apache.cocoon.util.BufferedOutputStream
 
createFile(File, String) - Static method in class org.apache.cocoon.util.IOUtils
Return a file with the given filename creating the necessary directories if not present.

D

DEBUG - Static variable in class org.apache.cocoon.util.Deprecation
Debug deprecation messages indicate features that are no more considered "current" or "best practice", but for which no removal is currently foreseen.
Deprecation - class org.apache.cocoon.util.Deprecation.
This class provides a special static "deprecation" logger.
Deprecation() - Constructor for class org.apache.cocoon.util.Deprecation
 
Deprecation.LogLevel - class org.apache.cocoon.util.Deprecation.LogLevel.
 
DeprecationException - exception org.apache.cocoon.util.DeprecationException.
An exception that indicates unauthorized use of a deprecated feature, or an attempt to use a old feature that has been removed.
DeprecationException(String) - Constructor for class org.apache.cocoon.util.DeprecationException
 
debug(String, Throwable) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
debug(String) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
decode(String, String) - Static method in class org.apache.cocoon.util.NetUtils
Pass through to the URLDecoder.
decodePath(String) - Static method in class org.apache.cocoon.util.NetUtils
Decode a path.
deparameterize(String, Map) - Static method in class org.apache.cocoon.util.NetUtils
Remove parameters from a uri.
deserializeObject(File) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3
deserializeString(File) - Static method in class org.apache.cocoon.util.IOUtils
Load a text file contents as a String.
discoverFields(Class, ReflectionUtils.Matcher) - Static method in class org.apache.cocoon.util.ReflectionUtils
 
discoverFields(Class) - Static method in class org.apache.cocoon.util.ReflectionUtils
 
discoverFields(Class, ReflectionUtils.Matcher, ReflectionUtils.Indexer) - Static method in class org.apache.cocoon.util.ReflectionUtils
 
discoverMethods(Class, ReflectionUtils.Matcher) - Static method in class org.apache.cocoon.util.ReflectionUtils
 
discoverMethods(Class) - Static method in class org.apache.cocoon.util.ReflectionUtils
 
discoverMethods(Class, ReflectionUtils.Matcher, ReflectionUtils.Indexer) - Static method in class org.apache.cocoon.util.ReflectionUtils
 

E

ERROR - Static variable in class org.apache.cocoon.util.Deprecation
Error deprecation messages indicate features that will be removed in the next minor version (e.g.
ESC - Static variable in class org.apache.cocoon.util.WildcardMatcherHelper
Default path separator: "/"
EnumerationFactory - class org.apache.cocoon.util.EnumerationFactory.
A factory for the creation of enumeration types (missing in Java).
EnumerationFactory(String) - Constructor for class org.apache.cocoon.util.EnumerationFactory
Constructors with and without a string representation (image).
EnumerationFactory() - Constructor for class org.apache.cocoon.util.EnumerationFactory
 
encode(String, String) - Static method in class org.apache.cocoon.util.NetUtils
Pass through to the URLEncoder.
encodePath(String) - Static method in class org.apache.cocoon.util.NetUtils
Encode a path as required by the URL specification ( RFC 1738).
error(TransformerException) - Method in class org.apache.cocoon.util.TraxErrorHandler
 
error(String, Throwable) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
error(String) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 

F

FATAL - Static variable in class org.apache.cocoon.util.Deprecation
Fatal deprecation messages indicate features that used to exist but have been removed in the current version.
FileFormatException - exception org.apache.cocoon.util.FileFormatException.
 
FileFormatException(String) - Constructor for class org.apache.cocoon.util.FileFormatException
 
FileFormatException(String, Throwable) - Constructor for class org.apache.cocoon.util.FileFormatException
 
fatalError(TransformerException) - Method in class org.apache.cocoon.util.TraxErrorHandler
 
fatalError(String, Throwable) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
fatalError(String) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
fileComponent(String) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3
flush() - Method in class org.apache.cocoon.util.BufferedOutputStream
Flushes this buffered output stream.

G

ge(EnumerationFactory) - Method in class org.apache.cocoon.util.EnumerationFactory
 
get(Object, Object) - Method in class org.apache.cocoon.util.HashMap
Get method extended by default object to be returned when key is not found.
get(int) - Method in class org.apache.cocoon.util.ResizableContainer
 
getChildLogger(String) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
getClassLoader() - Static method in class org.apache.cocoon.util.ClassUtils
Return the context classloader.
getContentLen() - Method in class org.apache.cocoon.util.PostInputStream
Returns the post message body length.
getContextFilePath(String, String) - Static method in class org.apache.cocoon.util.IOUtils
Return the path within a base directory
getCount() - Method in class org.apache.cocoon.util.BufferedOutputStream
Return the size of the current buffer
getDefaultExtension(String) - Static method in class org.apache.cocoon.util.MIMEUtils
Return the default filename extension for a given MIME type.
getEnd() - Method in class org.apache.cocoon.util.ByteRange
 
getExtension(String) - Static method in class org.apache.cocoon.util.NetUtils
Remove path and file information from a filename returning only its extension component
getFirst() - Static method in class org.apache.cocoon.util.EnumerationFactory
 
getFullFilename(File) - Static method in class org.apache.cocoon.util.IOUtils
Get the complete filename corresponding to a (typically relative) File.
getGifProperties(File) - Static method in class org.apache.cocoon.util.ImageUtils
 
getImageProperties(File) - Static method in class org.apache.cocoon.util.ImageUtils
 
getInputStream() - Method in class org.apache.cocoon.util.PostInputStream
Returns the underlying input stream.
getJpegProperties(File) - Static method in class org.apache.cocoon.util.ImageUtils
 
getLast() - Static method in class org.apache.cocoon.util.EnumerationFactory
 
getLevel(String) - Static method in class org.apache.cocoon.util.Deprecation.LogLevel
 
getLogger() - Method in class org.apache.cocoon.util.AbstractLogEnabled
 
getMIMEType(File) - Static method in class org.apache.cocoon.util.MIMEUtils
Return the MIME type for a given file.
getMIMEType(String) - Static method in class org.apache.cocoon.util.MIMEUtils
Return the MIME type for a given filename extension.
getNext() - Method in class org.apache.cocoon.util.EnumerationFactory
 
getObject(String) - Static method in class org.apache.cocoon.util.EnumerationFactory
 
getPath(String) - Static method in class org.apache.cocoon.util.NetUtils
Returns the path of the given resource.
getPos() - Method in class org.apache.cocoon.util.EnumerationFactory
 
getPrev() - Method in class org.apache.cocoon.util.EnumerationFactory
 
getResource(String) - Static method in class org.apache.cocoon.util.ClassUtils
Return a resource URL.
getStart() - Method in class org.apache.cocoon.util.ByteRange
 
getVal(int) - Static method in class org.apache.cocoon.util.EnumerationFactory
Access to the numeric representation.
gt(EnumerationFactory) - Method in class org.apache.cocoon.util.EnumerationFactory
 

H

HashMap - class org.apache.cocoon.util.HashMap.
Extended Version of HashMap that provides an extended get method accpeting a default value.
HashMap() - Constructor for class org.apache.cocoon.util.HashMap
 
HashMap(int) - Constructor for class org.apache.cocoon.util.HashMap
 
HashMap(int, float) - Constructor for class org.apache.cocoon.util.HashMap
 
HashMap(Map) - Constructor for class org.apache.cocoon.util.HashMap
 
HashUtil - class org.apache.cocoon.util.HashUtil.
A very efficient java hash algorithm, based on the BuzHash algoritm by Robert Uzgalis (see http://www.serve.net/buz/hash.adt/java.000.html for more information).
HashUtil() - Constructor for class org.apache.cocoon.util.HashUtil
 
hash(String) - Static method in class org.apache.cocoon.util.HashUtil
Hash a String.
hash(StringBuffer) - Static method in class org.apache.cocoon.util.HashUtil
Hash a String.
height - Variable in class org.apache.cocoon.util.ImageProperties
 

I

INFO - Static variable in class org.apache.cocoon.util.Deprecation
Info deprecation messages indicate features that are no more considered "current" or "best practice", and that will probably be removed in future releases.
IOUtils - class org.apache.cocoon.util.IOUtils.
A collection of File, URL and filename utility methods
IOUtils() - Constructor for class org.apache.cocoon.util.IOUtils
 
ImageProperties - class org.apache.cocoon.util.ImageProperties.
 
ImageProperties(int, int, char[], String) - Constructor for class org.apache.cocoon.util.ImageProperties
 
ImageUtils - class org.apache.cocoon.util.ImageUtils.
 
ImageUtils() - Constructor for class org.apache.cocoon.util.ImageUtils
 
info(String, Throwable) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
info(String) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
init(InputStream, int) - Method in class org.apache.cocoon.util.PostInputStream
Sets the underlying input stream and contentLen value .
intersection(ByteRange) - Method in class org.apache.cocoon.util.ByteRange
 
isAlphaNumeric(char) - Static method in class org.apache.cocoon.util.StringUtils
Tests whether a given character is alphabetic, numeric or underscore
isDebugEnabled() - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
isErrorEnabled() - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
isFatalErrorEnabled() - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
isInfoEnabled() - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
isWarnEnabled() - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 

L

le(EnumerationFactory) - Method in class org.apache.cocoon.util.EnumerationFactory
 
length() - Method in class org.apache.cocoon.util.ByteRange
 
loadClass(String) - Static method in class org.apache.cocoon.util.ClassUtils
Load a class given its name.
loadMimeTypes(Reader, Map, Map) - Static method in class org.apache.cocoon.util.MIMEUtils
Parses a mime.types file, and generates mappings between MIME types and extensions.
log - Variable in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
logger - Static variable in class org.apache.cocoon.util.Deprecation
The deprecation logger.
lt(EnumerationFactory) - Method in class org.apache.cocoon.util.EnumerationFactory
Order relations Object.op (OtherObject) representing the relation Object op OtherObject.

M

MIMEUtils - class org.apache.cocoon.util.MIMEUtils.
A collection of File, URL and filename utility methods.
MIMEUtils() - Constructor for class org.apache.cocoon.util.MIMEUtils
 
m_bytesRead - Variable in class org.apache.cocoon.util.PostInputStream
The number of bytes read
markSupported() - Method in class org.apache.cocoon.util.PostInputStream
Tests if this input stream supports the mark and reset methods.
match(String, String) - Static method in class org.apache.cocoon.util.WildcardMatcherHelper
Match a pattern agains a string and isolates wildcard replacement into a Map.
matches(String) - Method in interface org.apache.cocoon.util.ReflectionUtils.Matcher
 

N

NetUtils - class org.apache.cocoon.util.NetUtils.
A collection of File, URL and filename utility methods
NetUtils() - Constructor for class org.apache.cocoon.util.NetUtils
 
NullOutputStream - class org.apache.cocoon.util.NullOutputStream.
 
NullOutputStream() - Constructor for class org.apache.cocoon.util.NullOutputStream
 
newInstance(String) - Static method in class org.apache.cocoon.util.ClassUtils
Create a new instance given a class name
normalize(String) - Static method in class org.apache.cocoon.util.NetUtils
Normalize a uri containing ../ and ./ paths.
normalizedFilename(String) - Static method in class org.apache.cocoon.util.IOUtils
Return a modified filename suitable for replicating directory structures below the store's base directory.

O

objectToBytes(Object) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3
org.apache.cocoon.util - package org.apache.cocoon.util
 
org.apache.cocoon.util.avalon - package org.apache.cocoon.util.avalon
 

P

PATHSEP - Static variable in class org.apache.cocoon.util.WildcardMatcherHelper
Default path separator: "/"
PostInputStream - class org.apache.cocoon.util.PostInputStream.
The class PostInputStream is a wrapper for InputStream associated with POST message.
PostInputStream() - Constructor for class org.apache.cocoon.util.PostInputStream
Creates a PostInputStream
PostInputStream(InputStream, int) - Constructor for class org.apache.cocoon.util.PostInputStream
Creates a PostInputStream based on a real InputStream object with the specified post message body length.
parameterize(String, Map) - Static method in class org.apache.cocoon.util.NetUtils
Add parameters stored in the Map to the uri string.
pathComponent(String) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3
put(Map, String, Object) - Method in interface org.apache.cocoon.util.ReflectionUtils.Indexer
 

R

ReflectionUtils - class org.apache.cocoon.util.ReflectionUtils.
 
ReflectionUtils() - Constructor for class org.apache.cocoon.util.ReflectionUtils
 
ReflectionUtils.Indexer - interface org.apache.cocoon.util.ReflectionUtils.Indexer.
 
ReflectionUtils.Matcher - interface org.apache.cocoon.util.ReflectionUtils.Matcher.
 
ResizableContainer - class org.apache.cocoon.util.ResizableContainer.
Add-only Container class.
ResizableContainer(int) - Constructor for class org.apache.cocoon.util.ResizableContainer
 
read() - Method in class org.apache.cocoon.util.PostInputStream
Reads the next byte from the input stream.
read(byte[], int, int) - Method in class org.apache.cocoon.util.PostInputStream
Reads bytes from this byte-input stream into the specified byte array, starting at the given offset.
read(byte[]) - Method in class org.apache.cocoon.util.PostInputStream
 
realFlush() - Method in class org.apache.cocoon.util.BufferedOutputStream
Flushes this buffered output stream.
relativize(String, String) - Static method in class org.apache.cocoon.util.NetUtils
Relativize an absolute resource on a given absolute path.
removeAuthorisation(String) - Static method in class org.apache.cocoon.util.NetUtils
Remove any authorisation details from a URI
replaceToken(String) - Static method in class org.apache.cocoon.util.StringUtils
Replaces tokens in input with Value present in System.getProperty

S

STAR - Static variable in class org.apache.cocoon.util.WildcardMatcherHelper
Default path separator: "/"
StringUtils - class org.apache.cocoon.util.StringUtils.
A collection of String handling utility methods.
StringUtils() - Constructor for class org.apache.cocoon.util.StringUtils
 
serializeObject(File, Object) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3
serializeString(File, String) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3
serializeString(File, String, String) - Static method in class org.apache.cocoon.util.IOUtils
Deprecated. To be removed in cocoon 2.3
set(int, Object) - Method in class org.apache.cocoon.util.ResizableContainer
 
setForbiddenLevel(Deprecation.LogLevel) - Static method in class org.apache.cocoon.util.Deprecation
 
setInputStream(InputStream, int) - Method in class org.apache.cocoon.util.PostInputStream
Sets the underlying input stream and contentLen value .
setLogger(Log) - Method in class org.apache.cocoon.util.AbstractLogEnabled
 
setLogger(Log) - Static method in class org.apache.cocoon.util.Deprecation
 
size() - Method in class org.apache.cocoon.util.ResizableContainer
 
skip(long) - Method in class org.apache.cocoon.util.PostInputStream
See the general contract of the skip method of InputStream.
split(String) - Static method in class org.apache.cocoon.util.StringUtils
Split a string as an array using whitespace as separator
split(String, String) - Static method in class org.apache.cocoon.util.StringUtils
Deprecated. Use commons lang instead.

T

TraxErrorHandler - class org.apache.cocoon.util.TraxErrorHandler.
This error handler simply logs all exception and, in case of a fatal error, the exception is rethrown.
TraxErrorHandler() - Constructor for class org.apache.cocoon.util.TraxErrorHandler
 
TraxErrorHandler(Log) - Constructor for class org.apache.cocoon.util.TraxErrorHandler
 
TraxErrorHandler(Logger) - Constructor for class org.apache.cocoon.util.TraxErrorHandler
Deprecated. Use TraxErrorHandler.TraxErrorHandler(Log). }
toConfiguration(Element) - Static method in class org.apache.cocoon.util.ConfigurationUtil
Convert a DOM Element tree into a configuration tree.
toElement(Configuration) - Static method in class org.apache.cocoon.util.ConfigurationUtil
Convert a configuration tree into a DOM Element tree.
toString() - Method in class org.apache.cocoon.util.ByteRange
 
toString() - Method in class org.apache.cocoon.util.EnumerationFactory
 
toString() - Method in class org.apache.cocoon.util.ImageProperties
 
toString() - Method in class org.apache.cocoon.util.PostInputStream
Returns a String representation of this.
type - Variable in class org.apache.cocoon.util.ImageProperties
 

W

WARN - Static variable in class org.apache.cocoon.util.Deprecation
Warning deprecation messages indicate features that will be removed in the next major version (e.g.
WildcardMatcherHelper - class org.apache.cocoon.util.WildcardMatcherHelper.
This class is an utility class that perform wildcard-patterns matching and isolation.
WildcardMatcherHelper() - Constructor for class org.apache.cocoon.util.WildcardMatcherHelper
 
warn(String, Throwable) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
warn(String) - Method in class org.apache.cocoon.util.avalon.CLLoggerWrapper
 
warning(TransformerException) - Method in class org.apache.cocoon.util.TraxErrorHandler
 
width - Variable in class org.apache.cocoon.util.ImageProperties
 
write(int) - Method in class org.apache.cocoon.util.BufferedOutputStream
Writes the specified byte to this buffered output stream.
write(byte[], int, int) - Method in class org.apache.cocoon.util.BufferedOutputStream
Writes len bytes from the specified byte array starting at offset off to this buffered output stream.
write(byte[]) - Method in class org.apache.cocoon.util.NullOutputStream
 
write(byte[], int, int) - Method in class org.apache.cocoon.util.NullOutputStream
 
write(int) - Method in class org.apache.cocoon.util.NullOutputStream
 

A B C D E F G H I L M N O P R S T W

Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.