com.notuvy.util
Class ApplicationProperties

java.lang.Object
  extended by com.notuvy.util.ApplicationProperties
Direct Known Subclasses:
ApplicationProperties.Manifest, ApplicationProperties.Resource

public abstract class ApplicationProperties
extends Object

Basic description

Author:
murali

Nested Class Summary
static class ApplicationProperties.Manifest
           
static class ApplicationProperties.Resource
           
 
Field Summary
protected  String fLicense
           
protected  Translation<String> fMap
           
protected static FixedWidthText LINE_BREAKER
           
protected static org.apache.log4j.Logger LOG
           
static String UNDEFINED
           
 
Constructor Summary
ApplicationProperties()
           
 
Method Summary
protected  void define(Object o, Object pValue)
           
static ApplicationProperties from(Class pClass)
           
static ApplicationProperties fromManifest(Class pClass)
           
static ApplicationProperties fromResource(Class pClass)
           
 String getBuildTime()
           
 String getLicense()
           
 String getProjectDescription()
           
 String getProjectName()
           
 String getProjectVersion()
           
static void main(String[] args)
           
protected  void readLicense(InputStream pIs)
           
 String toAboutString()
           
 String toCopyrightString()
           
 String toProjectSummaryString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.log4j.Logger LOG

UNDEFINED

public static final String UNDEFINED
See Also:
Constant Field Values

LINE_BREAKER

protected static final FixedWidthText LINE_BREAKER

fMap

protected final Translation<String> fMap

fLicense

protected String fLicense
Constructor Detail

ApplicationProperties

public ApplicationProperties()
Method Detail

fromManifest

public static ApplicationProperties fromManifest(Class pClass)

fromResource

public static ApplicationProperties fromResource(Class pClass)

from

public static ApplicationProperties from(Class pClass)

define

protected void define(Object o,
                      Object pValue)

readLicense

protected void readLicense(InputStream pIs)
                    throws IOException
Throws:
IOException

getProjectName

public String getProjectName()

getProjectVersion

public String getProjectVersion()

getBuildTime

public String getBuildTime()

getProjectDescription

public String getProjectDescription()

getLicense

public String getLicense()

toCopyrightString

public String toCopyrightString()

toProjectSummaryString

public String toProjectSummaryString()

toAboutString

public String toAboutString()

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.