Package hec.tcu

Class TcuInfo

java.lang.Object
hec.tcu.TcuInfo
Direct Known Subclasses:
TcuInfoAbout, TcuInfoAccept

public class TcuInfo extends Object
  • Field Details

  • Constructor Details

    • TcuInfo

      public TcuInfo()
  • Method Details

    • setTitle

      public void setTitle(String title)
    • getTitle

      public String getTitle()
    • setText

      public void setText(String text)
      set the text of the Terms and Conditions
    • setMimeType

      public void setMimeType(String mimeType)
      set the MIME type one of:
      text/plain
      Plain text, which is the default the type given isn't recognized.
      text/html
      HTML text.
      text/rtf
      RTF text.
    • getText

      public String getText()
    • getMimeType

      public String getMimeType()
    • getTcuInfo

      public static TcuInfo getTcuInfo(int type)
      override to provide application specific terms and conditions of use.
      Parameters:
      type - one of either TcuInfo.ABOUT or TcuInfo.ACCEPT
      Returns:
    • getTcuFilename

      protected String getTcuFilename()
    • setAppName

      public void setAppName(String appName)