com.google.template.soy.msgs
Class SoyMsgBundleHandler.OutputFileOptions

java.lang.Object
  extended by com.google.template.soy.msgs.SoyMsgBundleHandler.OutputFileOptions
Enclosing class:
SoyMsgBundleHandler

public static class SoyMsgBundleHandler.OutputFileOptions
extends Object

Options for generating an output message bundle file.


Constructor Summary
SoyMsgBundleHandler.OutputFileOptions()
          This constructor sets default values for the source locale string and target locale string.
 
Method Summary
 String getSourceLocaleString()
          Returns the source locale string.
 String getTargetLocaleString()
          Returns the target locale string.
 void setSourceLocaleString(String sourceLocaleString)
          Sets the source locale string for an output message bundle file.
 void setTargetLocaleString(String targetLocaleString)
          Sets the target locale string f0or an output message bundle file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoyMsgBundleHandler.OutputFileOptions

public SoyMsgBundleHandler.OutputFileOptions()
This constructor sets default values for the source locale string and target locale string. The source locale string defaults to "en" and the target locale string defaults to null.

Method Detail

setSourceLocaleString

public void setSourceLocaleString(String sourceLocaleString)
Sets the source locale string for an output message bundle file.

Parameters:
sourceLocaleString - The source locale string.

getSourceLocaleString

public String getSourceLocaleString()
Returns the source locale string.


setTargetLocaleString

public void setTargetLocaleString(String targetLocaleString)
Sets the target locale string f0or an output message bundle file.

Parameters:
targetLocaleString - The target locale string.

getTargetLocaleString

public String getTargetLocaleString()
Returns the target locale string.