Codota Logo
org.jboss.logging.jdk.format
Code IndexAdd Codota to your IDE (free)

How to use org.jboss.logging.jdk.format

Best Java code snippets using org.jboss.logging.jdk.format (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: jboss/jboss-logging-jdk

/**
* Constructs a PatternLayout using the supplied conversion pattern.
*/
public PatternFormatter(String pattern)
{
 this.pattern = pattern;
 head = createPatternParser((pattern == null) ? DEFAULT_CONVERSION_PATTERN :
   pattern).parse();
}
origin: jboss/jboss-logging-jdk

/**
* Returns PatternParser used to parse the conversion string. Subclasses
* may override this to return a subclass of PatternParser which recognize
* custom conversion characters.
*
* @since 0.9.0
*/
protected PatternParser createPatternParser(String pattern)
{
 return new PatternParser(pattern);
}
origin: jboss/jboss-common-logging-jdk

protected void addConverter(PatternConverter pc)
{
 currentLiteral.setLength(0);
 // Add the pattern converter to the list.
 addToList(pc);
 // Next pattern is assumed to be a literal.
 state = LITERAL_STATE;
 // Reset formatting info
 formattingInfo.reset();
}
origin: jboss/jboss-logging-jdk

public AbsoluteTimeDateFormat(TimeZone timeZone)
{
 setCalendar(Calendar.getInstance(timeZone));
}
origin: org.jboss.logging/jboss-logging-jdk

public DateTimeDateFormat(TimeZone timeZone)
{
 this();
 setCalendar(Calendar.getInstance(timeZone));
}
origin: jboss/jboss-common-logging-jdk

/**
* Constructs a PatternLayout using the supplied conversion pattern.
*/
public PatternFormatter(String pattern)
{
 this.pattern = pattern;
 head = createPatternParser((pattern == null) ? DEFAULT_CONVERSION_PATTERN :
   pattern).parse();
}
origin: org.jboss.logging/jboss-logging-jdk

protected void addConverter(PatternConverter pc)
{
 currentLiteral.setLength(0);
 // Add the pattern converter to the list.
 addToList(pc);
 // Next pattern is assumed to be a literal.
 state = LITERAL_STATE;
 // Reset formatting info
 formattingInfo.reset();
}
origin: jboss/jboss-logging-jdk

public AbsoluteTimeDateFormat()
{
 setCalendar(Calendar.getInstance());
}
origin: jboss/jboss-common-logging-jdk

/**
* Returns PatternParser used to parse the conversion string. Subclasses
* may override this to return a subclass of PatternParser which recognize
* custom conversion characters.
*
* @since 0.9.0
*/
protected PatternParser createPatternParser(String pattern)
{
 return new PatternParser(pattern);
}
origin: jboss/jboss-common-logging-jdk

public DateTimeDateFormat(TimeZone timeZone)
{
 this();
 setCalendar(Calendar.getInstance(timeZone));
}
origin: org.jboss.logging/jboss-logging-jdk

/**
* Set the <b>ConversionPattern</b> option. This is the string which
* controls formatting and consists of a mix of literal content and
* conversion specifiers.
* @param conversionPattern 
*/
public void setConversionPattern(String conversionPattern)
{
 pattern = conversionPattern;
 head = createPatternParser(conversionPattern).parse();
}
origin: jboss/jboss-logging-jdk

protected void addConverter(PatternConverter pc)
{
 currentLiteral.setLength(0);
 // Add the pattern converter to the list.
 addToList(pc);
 // Next pattern is assumed to be a literal.
 state = LITERAL_STATE;
 // Reset formatting info
 formattingInfo.reset();
}
origin: org.jboss.logging/jboss-logging-jdk

public AbsoluteTimeDateFormat()
{
 setCalendar(Calendar.getInstance());
}
origin: org.jboss.logging/jboss-logging-jdk

/**
* Returns PatternParser used to parse the conversion string. Subclasses
* may override this to return a subclass of PatternParser which recognize
* custom conversion characters.
*
* @param pattern the pattern
* @return the parser
* @since 0.9.0
*/
protected PatternParser createPatternParser(String pattern)
{
 return new PatternParser(pattern);
}
origin: jboss/jboss-logging-jdk

public DateTimeDateFormat(TimeZone timeZone)
{
 this();
 setCalendar(Calendar.getInstance(timeZone));
}
origin: org.jboss.logging/jboss-logging-jdk

/**
* Constructs a PatternLayout using the supplied conversion pattern.
* @param pattern 
*/
public PatternFormatter(String pattern)
{
 this.pattern = pattern;
 head = createPatternParser((pattern == null) ? DEFAULT_CONVERSION_PATTERN :
   pattern).parse();
}
origin: org.jboss.logging/jboss-logging-jdk

public AbsoluteTimeDateFormat(TimeZone timeZone)
{
 setCalendar(Calendar.getInstance(timeZone));
}
origin: jboss/jboss-logging-jdk

/**
* Set the <b>ConversionPattern</b> option. This is the string which
* controls formatting and consists of a mix of literal content and
* conversion specifiers.
*/
public void setConversionPattern(String conversionPattern)
{
 pattern = conversionPattern;
 head = createPatternParser(conversionPattern).parse();
}
origin: jboss/jboss-common-logging-jdk

public AbsoluteTimeDateFormat()
{
 setCalendar(Calendar.getInstance());
}
origin: jboss/jboss-common-logging-jdk

/**
* Set the <b>ConversionPattern</b> option. This is the string which
* controls formatting and consists of a mix of literal content and
* conversion specifiers.
*/
public void setConversionPattern(String conversionPattern)
{
 pattern = conversionPattern;
 head = createPatternParser(conversionPattern).parse();
}
org.jboss.logging.jdk.format

Most used classes

  • AbsoluteTimeDateFormat
    Formats a Date in the format "HH:mm:ss,SSS" for example, "15:49:37,459".
  • DateTimeDateFormat
    Formats a Date in the format "dd MMM YYYY HH:mm:ss,SSS" for example, "06 Nov 1994 15:49:37,459".
  • FormattingInfo
    FormattingInfo instances contain the information obtained when parsing formatting modifiers in conve
  • ISO8601DateFormat
    Formats a java.util.Date in the format "YYYY-mm-dd HH:mm:ss,SSS" for example "1999-11-27 15:49:37,45
  • PatternConverter
    PatternConverter is an abtract class that provides the formatting functionality that derived classes
  • PatternParser$BasicPatternConverter,
  • PatternParser$CategoryPatternConverter,
  • PatternParser$ClassNamePatternConverter,
  • PatternParser$DatePatternConverter,
  • PatternParser$LiteralPatternConverter,
  • PatternParser$LocationPatternConverter,
  • PatternParser$MDCPatternConverter,
  • PatternParser$NamedPatternConverter,
  • PatternParser
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now