code stringlengths 3 1.18M | language stringclasses 1
value |
|---|---|
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
... | Java |
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
** ... | Java |
/*------------------------------------------------------------------------------
** Ident: Innovation en Inspiration > Google Android
** Author: rene
** Copyright: (c) Jan 22, 2009 Sogeti Nederland B.V. All Rights Reserved.
**------------------------------------------------------------------------------
**... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Th... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This prog... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
/*
* Copyright (C) 2010 Just Objects B.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This progr... | Java |
package com.irontec.phpforandroid;
import android.content.Context;
import com.googlecode.android_scripting.AsyncTaskListener;
import com.googlecode.android_scripting.InterpreterUninstaller;
import com.googlecode.android_scripting.exception.Sl4aException;
import com.googlecode.android_scripting.interpreter.Interpreter... | Java |
package com.irontec.phpforandroid;
import java.io.File;
import android.content.Context;
import com.googlecode.android_scripting.AsyncTaskListener;
import com.googlecode.android_scripting.InterpreterInstaller;
import com.googlecode.android_scripting.Log;
import com.googlecode.android_scripting.exception.Sl4aException... | Java |
package com.irontec.phpforandroid;
import android.content.Context;
import com.googlecode.android_scripting.AsyncTaskListener;
import com.googlecode.android_scripting.InterpreterInstaller;
import com.googlecode.android_scripting.InterpreterUninstaller;
import com.googlecode.android_scripting.activity.Main;
import com.... | Java |
package com.irontec.phpforandroid;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
import com.googlecode.android_scripting.interpreter.InterpreterConstants;
import com.googlecode.android_scripting.interpreter.InterpreterDescriptor;
import com.googlecode.android_scripting.interpreter.InterpreterPr... | Java |
/*
* Copyright (C) 2010 Irontec SL
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | Java |
/*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java |
/*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | Java |
/**
* StringCharConverter
*
* @author Chris Pratt
*
* 1/5/2012
*/
package com.anodyzed.onyx.type;
public class StringCharConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Character's
*
* @param from Either a CharSequence or a Character
* @param to Th... | Java |
/**
* StringEnumConverter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
public class StringEnumConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Enum's
*
* @param from Either a CharSequence or an Enum
* @param to The type... | Java |
/**
* StringFloatConverter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
public class StringFloatConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Float's
*
* @param from Either a CharSequence or a Float
* @param to The t... | Java |
/**
* StringByteConverter
*
* @author Chris Pratt
*
* 1/5/2012
*/
package com.anodyzed.onyx.type;
public class StringByteConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Byte's
*
* @param from Either a CharSequence or a Byte
* @param to The type to ... | Java |
/**
* StringIntConverter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
public class StringIntConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Integer's
*
* @param from Either a CharSequence or an Integer
* @param to The ... | Java |
/**
* StringShortConverter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
public class StringShortConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Short's
*
* @param from Either a CharSequence or a Short
* @param to The t... | Java |
/**
* StringDateConverter - Converts To/From ISO Date Strings
*
* @author Chris Pratt
*
* 2/27/2012
*/
package com.anodyzed.onyx.type;
import com.anodyzed.onyx.util.Convert;
import java.util.Date;
public class StringDateConverter implements Converter {
/**
* Convert Strings (or CharSequen... | Java |
/**
* StringDoubleConverter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
public class StringDoubleConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Double's
*
* @param from Either a CharSequence or a Double
* @param to T... | Java |
/**
* BigDecimalDoubleConverter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
import java.math.BigDecimal;
public class BigDecimalDoubleConverter implements Converter {
/**
* Convert BigDecimals to/from Double's
*
* @param from Either a BigDecimal or a Dou... | Java |
/**
* StringLongConverter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
public class StringLongConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Long's
*
* @param from Either a CharSequence or a Long
* @param to The type ... | Java |
/**
* ConverterFactory
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
import java.math.BigDecimal;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
public class ConverterFactory {
/**
* ConverterKey
*/
pri... | Java |
/**
* StringBooleanConverter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
import com.anodyzed.onyx.util.Convert;
public class StringBooleanConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Boolean's
*
* @param from Either ... | Java |
/**
* ConversionException
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
import com.anodyzed.onyx.util.FormattedRuntimeException;
@SuppressWarnings("serial")
public class ConversionException extends FormattedRuntimeException {
/**
* No-arg Constructor
*/
publ... | Java |
/**
* DateCalendarConverter
*
* @author Chris Pratt
*
* 12/16/2011
*/
package com.anodyzed.onyx.type;
import java.util.Calendar;
import java.util.Date;
public class DateCalendarConverter implements Converter {
/**
* Convert Strings (or CharSequence's) to/from Enum's
*
* @param from ... | Java |
/**
* Converter
*
* @author Chris Pratt
*
* 12/15/2011
*/
package com.anodyzed.onyx.type;
/**
* Implementations of this Interface are registered with the
* {@link ConverterFactory} to convert bi-directionally between two types.
*
* The {@code convert} method should recognize either type as i... | Java |
package com.anodyzed.onyx.bean;
/**
* BeanWrapper
*
* @author UPRATCH
* @since 4/27/12
*/
public interface BeanWrapper {
/**
* Get the Wrapped Bean
*
* @return The Wrapped Bean
*/
Object getBean();
} //#BeanWrapper
| Java |
/**
* BeanUtils
*
* @author Chris Pratt
*
* 10/23/2007
*/
package com.anodyzed.onyx.bean;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.text.TextFormat;
import com.anodyzed.onyx.type.Converter;
import com.anodyzed.onyx.type.ConverterFactory;
imp... | Java |
/**
* BeanMap
*
* @author Chris Pratt
*
* 11/11/2011
*/
package com.anodyzed.onyx.bean;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.type.Converter;
import com.anodyzed.onyx.type.ConverterFactory;
import java.beans.IntrospectionException;
imp... | Java |
/**
* RTTI
*
* @author Chris Pratt
*
* 12/14/2011
*/
package com.anodyzed.onyx.bean;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({Elemen... | Java |
/**
* TextFormat
*
* @author Chris Pratt
*
* 3/2/1999
*/
package com.anodyzed.onyx.text;
import com.anodyzed.onyx.util.Misc;
import com.anodyzed.onyx.util.PrototypeMap;
/**
* <code>TextFormat</code> provides a means to produce concatenated
* messages in language-neutral way. Use this to construc... | Java |
/**
* StringFormatter
*
* @author Chris Pratt
*
* 4/1/2012
*/
package com.anodyzed.onyx.text;
public class StringFormatter extends TextFormatter {
private CharSequence format;
/**
* Constructor
*
* @param parent The parent TextFormat
* @param key The Argument Index of Map Key for... | Java |
/**
* BinaryFormatter
*
* @author Chris Pratt
*
* 5/8/2010
*/
package com.anodyzed.onyx.text;
import com.anodyzed.onyx.util.Base64;
import com.anodyzed.onyx.util.Hex;
public class BinaryFormatter extends TextFormatter {
private String style;
/**
* Constructor
*
* @param parent ... | Java |
/**
* SubstringFormatter
*
* @author Chris Pratt
*
* 2/24/2010
*/
package com.anodyzed.onyx.text;
public class SubstringFormatter extends TextFormatter {
private int st;
private int nd;
/**
* Constructor
*
* @param parent The parent TextFormat
* @param key The Argument Inde... | Java |
/**
* BooleanFormatter
*
* @author Chris Pratt
*
* 11/26/2009
*/
package com.anodyzed.onyx.text;
import com.anodyzed.onyx.util.Convert;
public class BooleanFormatter extends TextFormatter {
private String positive;
private String negative;
/**
* Constructor
*
* @param parent ... | Java |
/**
* DateFormatter
*
* @author Chris Pratt
*
* 11/26/2009
*/
package com.anodyzed.onyx.text;
import com.anodyzed.onyx.util.Convert;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class DateFormatter extends TextFormatter... | Java |
/**
* CollectionFormatter
*
* @author Chris Pratt
*
* 11/26/2009
*/
package com.anodyzed.onyx.text;
import com.anodyzed.onyx.util.Convert;
import java.util.Map;
public class CollectionFormatter extends TextFormatter {
private char delim;
private int[] fixed;
/**
* Constructor
* ... | Java |
/**
* ChoiceFormatter
*
* @author Chris Pratt
*
* 11/17/2009
*/
package com.anodyzed.onyx.text;
import java.text.ChoiceFormat;
import java.util.ArrayList;
import java.util.List;
public class ChoiceFormatter extends TextFormatter {
private double[] choiceLimits;
private TextFormat[] choiceForm... | Java |
/**
* TextFormatter
*
* @author Chris Pratt
*
* 9/25/2009
*/
package com.anodyzed.onyx.text;
import com.anodyzed.onyx.bean.BeanUtils;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.util.Misc;
import java.beans.IntrospectionException;
import jav... | Java |
/**
* TimeFormatter
*
* @author Chris Pratt
*
* 11/26/2009
*/
package com.anodyzed.onyx.text;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
public class TimeFormatter extends DateFormatter {
/**
* Constructor
*
* @param parent The parent TextFormat
* @param ... | Java |
/**
* NumberFormatter
*
* @author Chris Pratt
*
* 11/26/2009
*/
package com.anodyzed.onyx.text;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.util.Calc;
import com.anodyzed.onyx.util.FPCalc;
import com.anodyzed.onyx.util.Fraction;
import com.ano... | Java |
/**
* ZeroNullNumberFormatter
*
* @author Chris Pratt
*
* 1/24/2012
*/
package com.anodyzed.onyx.text;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
public class ZeroNullNumberFormatter extends NumberFormatter {
private static final Log log = LogBuilder.getLogger();
... | Java |
/**
* LogFactory
*
* @author Chris Pratt
*
* 10/20/2011
*/
package com.anodyzed.onyx.log;
public interface LogFactory {
/**
* Get the Logger defined for the category named for the calling class
*
* @return Logger
*/
Log getLogger();
/**
* Get the Logger defined for the ... | Java |
/**
* SLF4jLogContextInitializer
*
* @author Chris Pratt
*
* 7/29/2012
*/
package com.anodyzed.onyx.log.slf4j;
import com.anodyzed.onyx.log.LogBuilder;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
public class SLF4jLogContextInitializer implements Servlet... | Java |
/**
* SLF4jBridgeContextInitializer
*
* @author Chris Pratt
*
* 7/13/2011
*/
package com.anodyzed.onyx.log.slf4j;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import org.slf4j.bridge.SLF4JBridgeHandler;
public class SLF4jBridgeContextInitializer implement... | Java |
/**
* SLF4jLogFactory
*
* @author Chris Pratt
*
* 7/29/2012
*/
package com.anodyzed.onyx.log.slf4j;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.log.LogFactory;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
public class SLF4jLogFact... | Java |
/**
* SLF4jLog
*
* @author Chris Pratt
*
* 7/29/2012
*/
package com.anodyzed.onyx.log.slf4j;
import com.anodyzed.onyx.bean.BeanUtils;
import com.anodyzed.onyx.cache.Cache;
import com.anodyzed.onyx.cache.CacheLoader;
import com.anodyzed.onyx.cache.MRUCache;
import com.anodyzed.onyx.cache.SimpleCache;... | Java |
/**
* Log4jLogFactory
*
* @author Chris Pratt
*
* 10/20/2011
*/
package com.anodyzed.onyx.log.log4j;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.log.LogFactory;
import org.apache.log4j.Logger;
import org.apache.log4j.MDC;
public class Log4... | Java |
/**
* Log4jLog
*
* @author Chris Pratt
*
* 10/23/2007
*/
package com.anodyzed.onyx.log.log4j;
import com.anodyzed.onyx.bean.BeanUtils;
import com.anodyzed.onyx.cache.Cache;
import com.anodyzed.onyx.cache.CacheLoader;
import com.anodyzed.onyx.cache.MRUCache;
import com.anodyzed.onyx.cache.SimpleCache... | Java |
/**
* Log4jLogContextInitializer
*
* @author Chris Pratt
*
* 11/11/2011
*/
package com.anodyzed.onyx.log.log4j;
import com.anodyzed.onyx.log.LogBuilder;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
public class Log4jLogContextInitializer implements Servle... | Java |
/**
* LogBuilder
*
* @author Chris Pratt
*
* 10/23/2007
*/
package com.anodyzed.onyx.log;
import com.anodyzed.onyx.log.sysout.SysOutLogFactory;
/**
* Java 5 Log4j Facade - Allows using format strings and variable argument lists
* to build log messages efficiently.
*
* Since there is no up-fro... | Java |
/**
* LogInitializerBean
*
* @author Chris Pratt
*
* 2/13/2012
*/
package com.anodyzed.onyx.log;
import org.slf4j.bridge.SLF4JBridgeHandler;
public class LogInitializerBean {
/**
* Constructor
*
* @param factory The Log Factory to install
*/
public LogInitializerBean (LogFacto... | Java |
/**
* LoggingMap
*
* @author Chris Pratt
*
* 11/10/2011
*/
package com.anodyzed.onyx.log;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class LoggingMap<K,V> implements Map<K,V> {
private static final ... | Java |
/**
* LogbackUtils
*
* @author Chris Pratt
*
* 7/28/2011
*/
package com.anodyzed.onyx.log.logback;
import ch.qos.logback.classic.spi.IThrowableProxy;
import ch.qos.logback.classic.spi.StackTraceElementProxy;
public class LogbackUtils {
/**
* Private Constructor
*/
private LogbackUtil... | Java |
/**
* SLF4jLogContextInitializer
*
* @author Chris Pratt
*
* 11/11/2011
*/
package com.anodyzed.onyx.log.logback;
import com.anodyzed.onyx.log.LogBuilder;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
public class LogbackLogContextInitializer implements Se... | Java |
/**
* SLF4jLogFactory
*
* @author Chris Pratt
*
* 10/20/2011
*/
package com.anodyzed.onyx.log.logback;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.log.LogFactory;
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;
public class LogbackLo... | Java |
/**
* SLF4jLog
*
* @author Chris Pratt
*
* 10/23/2007
*/
package com.anodyzed.onyx.log.logback;
import ch.qos.logback.classic.Level;
import com.anodyzed.onyx.bean.BeanUtils;
import com.anodyzed.onyx.cache.Cache;
import com.anodyzed.onyx.cache.CacheLoader;
import com.anodyzed.onyx.cache.MRUCache;
... | Java |
/**
* LogException
*
* @author Chris Pratt
*
* 7/23/2011
*/
package com.anodyzed.onyx.log;
@SuppressWarnings("serial")
public class LogException extends RuntimeException {
/**
* No-arg Constructor
*/
public LogException () {
super();
} //LogException
/**
* Constructor
... | Java |
/**
* Log
*
* @author Chris Pratt
*
* 10/23/2007
*/
package com.anodyzed.onyx.log;
import com.anodyzed.onyx.text.TextFormat;
/**
* Java 5 Log Facade - Allows using format strings and variable argument lists
* to build log messages efficiently.
*
* Since there is no up-front string processing ... | Java |
/**
* LogLevel
*
* @author Chris Pratt
*
* 7/23/2011
*/
package com.anodyzed.onyx.log;
import com.anodyzed.onyx.util.Misc;
public enum LogLevel {
None, Error, Warn, Info, Debug, Trace, All;
/**
* Determine whether the current level is Greater Than or Equal To the
* supplied level.
... | Java |
/**
* JULLogContextInitializer
*
* @author Chris Pratt
*
* 11/11/2011
*/
package com.anodyzed.onyx.log.jul;
import com.anodyzed.onyx.log.LogBuilder;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
public class JULLogContextInitializer implements ServletConte... | Java |
/**
* JULLogFactory
*
* @author Chris Pratt
*
* 10/20/2011
*/
package com.anodyzed.onyx.log.jul;
import com.anodyzed.onyx.log.Log;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.log.LogFactory;
import java.util.logging.Logger;
public class JULLogFactory implements LogFactory {... | Java |
/**
* Log4jLog
*
* @author Chris Pratt
*
* 10/23/2007
*/
package com.anodyzed.onyx.log.jul;
import com.anodyzed.onyx.bean.BeanUtils;
import com.anodyzed.onyx.cache.Cache;
import com.anodyzed.onyx.cache.CacheLoader;
import com.anodyzed.onyx.cache.MRUCache;
import com.anodyzed.onyx.cache.SimpleCache;
... | Java |
/**
* Period
*
* @author Chris Pratt
*
* 12/2/2010
*/
package com.anodyzed.onyx.util;
import com.anodyzed.onyx.text.TextFormat;
import java.io.Serializable;
import java.util.Calendar;
import java.util.Date;
import java.util.Iterator;
@SuppressWarnings("serial")
public class Period implements I... | Java |
/**
* Hex
*
* @author Chris Pratt
* @version 1.0
*
* 11/30/1998
*/
package com.anodyzed.onyx.util;
import java.io.PrintWriter;
import java.io.StringWriter;
public class Hex {
private static final char[] DECIMAL = {'0','1','2','3','4','5','6','7','8','9'};
private static final char[] DIGITS =... | Java |
/**
* LinkedStack
*
* @author Chris Pratt
*
* 1/24/2006
*/
package com.anodyzed.onyx.util;
import java.io.Serializable;
import java.util.ConcurrentModificationException;
import java.util.EmptyStackException;
import java.util.Iterator;
import java.util.NoSuchElementException;
@SuppressWarnings("se... | Java |
package com.anodyzed.onyx.util;
import java.io.Serializable;
import java.util.AbstractMap;
import java.util.AbstractSet;
import java.util.Comparator;
import java.util.ConcurrentModificationException;
import java.util.Iterator;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Set;
/**
*... | Java |
/**
* Misc - Miscellaneous and Sundry Utility Functions
*
* @author Chris Pratt
*
* 3/5/1999
*/
package com.anodyzed.onyx.util;
import java.util.Collection;
import java.util.Date;
import java.util.Map;
public class Misc {
public static final long MS = 1;
public static final long SEC = 1000 *... | Java |
/**
* Fraction
*
* @author Chris Pratt
*
* 2/14/2005
*/
package com.anodyzed.onyx.util;
import java.text.ParseException;
@SuppressWarnings("serial")
public class Fraction extends Number {
private double dec;
private long w;
private long n;
private long d;
/**
* No-arg Bean Const... | Java |
/**
* Base64 - Base 64 Transfer Encoding
*
* @author Chris Pratt
*
* 3/15/1999
*/
package com.anodyzed.onyx.util;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.... | Java |
/**
* FormattedRuntimeException
*
* @author Chris Pratt
*
* 12/12/2011
*/
package com.anodyzed.onyx.util;
import com.anodyzed.onyx.text.TextFormat;
@SuppressWarnings("serial")
public class FormattedRuntimeException extends RuntimeException {
/**
* No-arg Constructor
*/
public Formatt... | Java |
/**
* Chrono - Date/Time Utilities
*
* @author Chris Pratt
*
* 11/26/2001
*/
package com.anodyzed.onyx.util;
import java.text.DateFormatSymbols;
import java.util.Calendar;
import java.util.Date;
public class Chrono {
protected static final DateFormatSymbols symbols = new DateFormatSymbols();
... | Java |
/**
* FormattedException
*
* @author Chris Pratt
*
* 12/12/2011
*/
package com.anodyzed.onyx.util;
import com.anodyzed.onyx.text.TextFormat;
@SuppressWarnings("serial")
public class FormattedException extends Exception {
/**
* No-arg Constructor
*/
public FormattedException () {
... | Java |
/**
* Calc
*
* @author Chris Pratt
*
* 2/26/2003
*/
package com.anodyzed.onyx.util;
public class Calc {
private static final char NONE = (char)-1;
private static final char SPC = ' ';
private static final char LEFT = '(';
private static final char RITE = ')';
private static final char AD... | Java |
/**
* FPCalc - Floating Point Calculator
*
* @author Chris Pratt
*
* 12/26/2012
*/
package com.anodyzed.onyx.util;
public class FPCalc {
private static final char NONE = (char)-1;
private static final char SPC = ' ';
private static final char LEFT = '(';
private static final char RITE = ')'... | Java |
/**
* Stack - A LIFO (Last-in First-out) Queue, or Stack
*
* @author Chris Pratt
*
* 1/24/2006
*/
package com.anodyzed.onyx.util;
public interface Stack<E> extends Iterable<E> {
/**
* Add an Element to the Top of the Stack
*
* @param e The Element to Push onto the Stack
* @return tr... | Java |
/**
* PrototypeMap
*
* @author Chris Pratt
*
* 9/24/2009
*/
package com.anodyzed.onyx.util;
import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.Map;
@SuppressWarnings("serial")
public class PrototypeMap<K,V> extends HashMap<K... | Java |
/**
* Convert - Type Conversion Routines
*
* @author Chris Pratt
*
* 7/23/1999
*/
package com.anodyzed.onyx.util;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import ja... | Java |
/**
* BeanUtilsTests
*
* @author Chris Pratt
*
* 4/13/2010
*/
package com.anodyzed.onyx.bean;
import com.anodyzed.onyx.log.LogBuilder;
import com.anodyzed.onyx.log.sysout.SysOutLogFactory;
import java.beans.IntrospectionException;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Meth... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.