Compact Class For Java – CCLanguage


Compact Class is a collection of common functions and classes that can make your code more concise, fast, and precise.

utility

Class CCLanguage

java.lang.Object

extended by

utility.CCLanguage
All Implemented Interfaces:
CCTrackable

public class CCLanguageextends java.lang.Objectimplements CCTrackable

CCLanguage is a collection of methods to simplify translation.

Since:
10.03.17
Version:
12.03.17
Author:
Yosua Onesimus


Constructor Detail

CCLanguage

public CCLanguage()


Method Detail

init

public static void init(java.lang.Class<? extends CCLanguage>... classes)
To initialize the fields of the derived class CCLanguage. Used for web
programming.

 

Parameters:
classes

 


load

public static CCProperties2nd load(CCLanguage.LanguagePack languagePack,
                                   java.lang.Class<? extends CCLanguage>... classes)
To initialize the fields of the derived class CCLanguage. Used for
desktop programming.

 

Parameters:
languagePack
classes

 

Returns:CCProperties2nd


load

public static CCProperties2nd load(CCLanguage.LanguagePack languagePack)
To initialize the fields of the derived class CCLanguage. Used for
desktop programming.

 

Parameters:
languagePack

 

Returns:CCProperties2nd


load

public static CCProperties2nd load(java.lang.Class<? extends CCLanguage>... classes)
To initialize the fields of the derived class CCLanguage. Used for
desktop programming.

 

Parameters:
classes

 

Returns:CCProperties2nd


load

public static CCProperties2nd load()
To initialize the fields of the derived class CCLanguage. Used for
desktop programming.

 

Returns:
CCProperties2nd

 


load

public static CCProperties2nd load(java.lang.String domain)
To initialize the fields of the derived class CCLanguage. Used for web
programming.

 

Parameters:
domain

 

Returns:CCProperties2nd


load

public static void load(java.util.List<CCDatabaseConfig> databaseConfigs)
To initialize the fields of the derived class CCLanguage. Used for web
programming.

 

Parameters:
databaseConfigs

 


turn

public static java.lang.String turn(java.lang.String domain,
                                    java.lang.String word)
To get a translation of a word.

 

Parameters:
domain
word

 

Returns:String


turn

public static java.lang.String turn(java.lang.String word)
To get a translation of a word.

 

Parameters:
word

 

Returns:String


save

public static boolean save(CCLanguage.LanguagePack languagePack,
                           java.lang.Class<? extends CCLanguage>... classes)
To save the translation result of edits. Used for desktop programming.

 

Parameters:
languagePack
classes

 

Returns:boolean


save

public static boolean save(CCLanguage.LanguagePack languagePack)
To save the translation result of edits. Used for desktop programming.

 

Parameters:
languagePack

 

Returns:boolean


save

public static boolean save(java.lang.Class<? extends CCLanguage>... classes)
To save the translation result of edits. Used for desktop programming.

 

Parameters:
classes

 

Returns:boolean


save

public static boolean save()
To save the translation result of edits. Used for desktop programming.

 

Returns:
boolean

 


save

public static boolean save(java.lang.String domain,
                           boolean defaultValue)
To save the translation result of edits. Used for web programming.

 

Parameters:
domain
defaultValue

 

Returns:boolean


save

public static boolean save(java.util.List<CCDatabaseConfig> databaseConfigs,
                           boolean defaultValue)
To save the translation result of edits. Used for web programming.

 

Parameters:
databaseConfigs
defaultValue

 

Returns:boolean

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: