Getting String using ResourceBundle and XLIF resource bundle.

Hello,
I am using Jdev. 11.1.1.2.0. I am trying to use XLIFF resource bundle in the Model project and trying to get string from the bundle using following code. I am getting MissingResourceException. if I use Property Bundle, it works fine.
public String getMessage(String code)
return ResourceBundle.getBundle("model.ModelBundle").getString("MESSAGE1");
Any help to make it work with XLIFF resource bundle will be appreciated.
Thanks,
Amit
Edited by: Amit Patel on Apr 1, 2010 10:23 AM

To get the values from the resource bundle, you use the <fmt:message> tag
<fmt:message bundle="${appbundle}" key="lbl.accountnum"/>

Similar Messages

  • How to use XLIFF file as resource bundle in Java code

    We use xliff as resource bundle for our ADF application. it is has been no problem to have localized message displayed on UI. how ever, I'm wonderring how to use Java code to access xliff as resource bundle which similar to access properties resource bundle. for example:
    Locale myLocale = new Locale("es", "ES");
    ResourceBundle bundle = ResourceBundle.getBundle("HelloResourceBundle", myLocale);
    System.out.println(bundle.getString("Hello"));is it posible to create "HelloResourceBundle" in xliff format?
    Thanks

    Following code worked for me:
    import oracle.javatools.resourcebundle.BundleFactory;
    import java.util.ResourceBundle;
    * This method retrieves localized strings from a given XLIF resource bundle.
    * @param bundleName The XLIF bundle from which the localized string is to be retrieved.
    * @param key The key of the localized string.
    * @return The localized string retrieved from the given XLIF bundle.
    public static String getXlifLocalizedString(String bundleName, String key) {
    if (StringUtils.isEmpty(key)) {
    return key;
    if (StringUtils.isEmpty(bundleName)) {
    return "[" + key + "]";
    String localizedString = null;
    ResourceBundle resourceBundle = null;
    try {
    resourceBundle = BundleFactory.getBundle(bundleName);
    localizedString = resourceBundle.getString(key);
    } catch (Exception e) {
    LOG.log(Level.SEVERE, "Problem in loading XLIF resource bundle: " + bundleName, e);
    return "[" + key + "]";
    return localizedString;
    }

  • How to compare and edit Resource bundle file using java programe

    Hi All
    I have two resource bundle with key, value and some comments. I need to write a java code to compare both of the values of the keys and if the values are different then i want to replace the second value with the first value.
    Its a programe which will udpate the second file with the first file values.
    I tried using Properties class but it didnt worked because when i am saving the file using store method it removes all the comments and the order of text also got disturbed.
    How I need to do this any help appriciated.
    Please elt me know if someone needs more info.
    Thanks in advance.

    Let's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Test {
         private static Properties props;
         public static void main(String[] args) throws IOException {
              File file = new File("test.ini");//This is out ini file
              props = new Properties();//Create the properties object
              read(file);//Read the ini file
              //Once we've populated the Properties object. set/add a property using the setProperty() method.
              props.setProperty("testing", "value");
              write(file);//Write to ini file
         public static void read(File file) throws IOException {
              FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
              props.load(fis);//load the ini to the Properties file
              fis.close();//close
         public static void write(File file) throws IOException {
              FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
              props.store(fos, "");//write the Properties object values to our ini file
              fos.close();//close
    }

  • How to Split the string using Substr and instr using loop condition

    Hi every body,
    I have below requirement.
    I need to split the string and append with single quotes('') followed by , (comma) and reassign entire values into another variable. so that i can use it where clause of update statement
    for example I am reciveing value as follows
    ALN varchar2(2000):=(12ERE-3MT-4Y,4IT-5O-SD,OP-K5-456,P04-SFS9-098,90P-SSF-334,3434-KJ4-O28,AS3-SFS0-J33,989-3KL-3434);
    Note: In the above variable i see 8 transactions, where as in real scenario i donot how many transaction i may recive.
    after modification i need above transactions should in below format
    ALTR Varchar2(2000):=('12ERE-3MT-4Y','4IT-5O-SD','OP-K5-456','P04-SFS9-098','90P-SSF-334','3434-KJ4-O28','AS3-SFS0-J33','989-3KL-3434');
    kindly help how to use substr and instr in normal loop or for loop or while loop while modifying the above transactions.
    Please help me to sort out this issue.
    Many Thanks.
    Edited by: user627525 on Dec 15, 2011 11:49 AM

    Try this - may not be the best way but...:
    create or replace type myTableType as table of varchar2(255)
    declare
    v_array mytabletype;
    v_new_str varchar2(4000);
    function str2tbl
             (p_str   in varchar2,
              p_delim in varchar2 default '.')
             return      myTableType
        as
            l_str        long default p_str || p_delim;
             l_n        number;
             l_data     myTableType := myTabletype();
        begin
            loop
                l_n := instr( l_str, p_delim );
                exit when (nvl(l_n,0) = 0);
                l_data.extend;
                l_data( l_data.count ) := ltrim(rtrim(substr(l_str,1,l_n-1)));
                l_str := substr( l_str, l_n+length(p_delim) );
            end loop;
            return l_data;
       end;
    begin
      v_array := str2tbl ('12ERE-3MT-4Y,4IT-5O-SD,OP-K5-456,P04-SFS9-098,90P-SSF-334,3434-KJ4-O28,AS3-SFS0-J33,989-3KL-3434', ',');
          FOR i IN 1 .. v_array.COUNT LOOP
             v_new_str := v_new_str || ''''||v_array(i)||'''' || ',';
          END LOOP;
       dbms_output.put_line(RTRIM(v_new_str, ','));
    end;  
    OUTPUT:
    =======
    '12ERE-3MT-4Y','4IT-5O-SD','OP-K5-456','P04-SFS9-098','90P-SSF-334','3434-KJ4-O28','AS3-SFS0-J33','989-3KL-3434'HTH
    Edited by: user130038 on Dec 15, 2011 12:11 PM

  • Getting started using c++ and Opengl

    Hi all,
    I hope this is the right section to post this question. I am trying to getting started in developing little games in C++ usign Opengl. I have tryed to look for some documentation and understand how to set up my dev environment. I am a little bit confused on wich version of OpenGl to install and whether or not I need to support it installing particular drivers.
    This are the information on my VGA controller obtained typing "lspci -v"
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
            Subsystem: Dell Device 0571
            Flags: bus master, fast devsel, latency 0, IRQ 35
            Memory at f2400000 (64-bit, non-prefetchable) [size=4M]
            Memory at e0000000 (64-bit, prefetchable) [size=256M]
            I/O ports at 5000 [size=64]
            Expansion ROM at <unassigned> [disabled]
            Capabilities: <access denied>
            Kernel driver in use: i915
            Kernel modules: i915
    01:00.0 VGA compatible controller: NVIDIA Corporation GF116M [GeForce GT 555M/635M] (rev a1) (prog-if 00 [VGA controller])
            Subsystem: Dell GeForce GT 555M
            Flags: bus master, fast devsel, latency 0, IRQ 39
            Memory at f0000000 (32-bit, non-prefetchable) [size=32M]
            Memory at c0000000 (64-bit, prefetchable) [size=256M]
            Memory at d0000000 (64-bit, prefetchable) [size=64M]
            I/O ports at 4000 [size=128]
            Expansion ROM at f2000000 [disabled] [size=512K]
            Capabilities: <access denied>
            Kernel driver in use: nouveau
            Kernel modules: nouveau
    Any help is much appreciated!

    Not sure I understand what you're trying to do/install and why based on your post. But since it sounds like you're trying to jump right into the middle of it and I "got started using c++ and opengl" without having any clue of anything a week or so ago, here's some random stuff that would have saved me a lot of time:
    - I don't think nouveau is so great for opengl - you're probably better of using the proprietary nvidia driver (which isn't great for development, but still, better / necessary). You seem to be on a laptop? Then you might need one of those bumblebee / optimus things which makes the situation a lot worse. I never had to use those things, but based on various random posts I came across while I was breaking & fixing my own opengl stuff, everything seems to be even more confusing & glitchy/breaky for the people who have to use it on TOP of the whole rest. You might waste a lot of time looking for errors in your code when there are none and it's really just that optimus/bumblebee thing messing stuff up. Which is TERRIBLE if you're just getting started, so you probably should think about using a different machine with a "real / normal" graphics card for this until you have seen "how opengl is supposed to behave" without this additional source of messy breakage.
    - New to c++ and confused with including / linking etc? If so: Try cmake (google "findpackage.cmake" for whatever you need, look at some cmakelist.txt's for programs similar to what you want to write) - that might get you started a lot faster while you're still not sure what you need/want and enables you to learn the boring stuff piece by piece when you really need it (as opposed to all in one giant boring heap before you can even try anything fun).
    - Kdevelop (or any IDE that has some support for cmake + GOOD syntax completion) also helps a LOT in the beginning.
    - For a start, you just need a modern opengl context. The rest  (glew, glut, opengl, etc) will probably somehow fall into place once you made your choice there and just start with that. SFML is probably the most comfortable to offer an opengl context for a beginner (SDL can be a bit stubborn if you're as clueless as I was. I also tried several others and they all seemed rather "brittle", leading to confusing results if you try to use them while not having much of a clue yet).
    - If you already know some C++/opengl, "those pesky :: 's" don't confuse you as much as they did me when I took a first look, and you don't necessarily want to try doing everything very lowlvl (write your own shader class etc) at first until you understand stuff, you can also try to use qt5's opengl context from the start (I'm switching to it now that I need a GUI in addition to raw opengl).
    - After you manage to draw some obsolete opengl stuff (glbegin() tutorials are everywhere) to confirm that you managed to create your gl context, it probably makes sense to forget about "glbegin" again right away and focus on ShaderProgram/VAO/VBO. It might make sense to to create + render a VAO manually first to get a better understanding of what they are/do... but on the other hand, you can also safe a lot of time if you use premade ShaderProgram/VAO/VBO classes (I think qt5 has all of those) instead right away.
    - At the point you manage to get a VAO rendered in your context, you probably won't rely on finding information specific to your framework (p.E.: linux/qt/nvidia stuff/sfml) so heavily any more and can look for general opengl / VAO / VBO / Open Shader Language stuff - which is all over the place and easy to find.
    - Limiting your googling to THE LAST YEAR when you look for opengl/c++ stuff might get you a lot less confusing / obsolete results.
    Good luck!
    Last edited by whoops (2015-02-17 09:07:16)

  • GETTING  A USED IPOD AND PUTTING MY MUSIC ON IT

    i HAD TO GET A USED IPOD BECAUSE MINE WAS DISTROYED hOW DO I REPLACE THE MUSIC THAT IS ON IT WITH MY MUSIC. ALSO HOW DO I CHANGE THE NAME OF THE IPOD.

    hOW DO I REPLACE THE MUSIC THAT IS ON IT WITH MY MUSIC.
    Hook it up to your computer and change the iTunes library it's set to sync with.
    HOW DO I CHANGE THE NAME OF THE IPOD.
    Select it in the iTunes source list, click on its name, and type a new name.
    (45599)

  • How to get image using Http and how to save in Smulator

    Hi guys,
    Am working in black berry bold. i dont know how to get image using htp connection and one more thing i need to save this image in side simulator directory............. what are the specific API i should...
    Guide me.........

    If you want the input image size you need to pass it in as parameters.
    A discussion thread on this topic is:
    http://forums.adobe.com/thread/29948
    -- Daniel R. <[email protected]> http://danielr.neophi.com/

  • Reverse Strings using rercursion and iteration

    Hi,
    I really need some help, am quite new to java and am struggling.
    I want to design 2 methods, both 2 reverse strings.
    1) uses StringBuffer and iteration
    2) uses Strings and recursion
    I would be greatful for any advice or help.
    Thanx xxxxx Nats xxxxxx

    Oh, you need to do it using both methods.... Sorry, didn't realise it was coursework :)
    Using StringBuffer and iteration
    public StringBuffer reverse(StringBuffer buff) {
        int halfLen = buff.length();
        int len = buff.length();
        for(int i=0; i < halfLen; i++) {
             char c1 = buff.getCharAt(i);
             char c2 = buff.getCharAt((len - i) - 1);
             buff = buff.setCharAt(i, c2);
             buff = buff.setCharAt((len - i) - 1, c1);
        return buff;
    }And for String using recursion
    public String reverse(String str) {
        char[] chars = new char[str.length];
        str.getChars(0, chars, 0, str.length());
        reverseChars(chars, 0, str.length() / 2);
        return new String(chars);  
    private reverseChars(char[] chars, int index, int halfLen) {
        //* end condition
        if(index >= halfLen) return;
        topIndex = (chars.length - 1) - index;
        char tmp = chars[index];
        chars[index] = chars[topIndex];
        chars[topIndex] = tmp;
        reverseChars(chars, ++index, halfLen);
    }I only wrote this code on the fly so things may break but it is a start.

  • Using ResourceBundle and Locale in an Applet

    hello,
    i worked out a little application to use with multilanguage support.
    i wrote two classes so i can start the application within a jar file located on my computer and anotherone to launch it as an applet...
    for development i use Eclipse; when i try to run it in eclipse everything works fine (although i limit the access of the applet!)
    when i try to run the applet in IE i get the error message:
    java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)i did not use the function "System.getProperty("user.dir")" in MY code which is referred!
    so i guess its one of the included packages:
    ResourceBundle | Locale
    how can i solve this problem as its working in the limited access applet in eclipse??
    thanks in advance

    note: i do load the .properties file from the JAR package, not from hdd!
    here is my code
    import java.util.Locale;
    import java.util.ResourceBundle;
    public class Xlocale {
         private Locale locale = Locale.ENGLISH;
         private ResourceBundle thisLocaleRB;
         public Xlocale(String aXlocaleName, String aLocale) {
              setLocale(getLocale(aLocale)); //if you leave this line it won't work *hmm?*
              if (thisLocaleRB == null || getLocale() != thisLocaleRB.getLocale()) {
                   try {
                        thisLocaleRB = ResourceBundle.getBundle(aXlocaleName, getLocale());
                   } catch (Exception e) {
                        //System.err.println(e.getLocalizedMessage()+" ["+System.getProperty("user.dir")+"\\"+aXlocaleName+"_"+getLocale()+".properties]\n");
         public String getString(String key, String dv) {
              String val = thisLocaleRB.getString(key);
              if (val == null)
                   return dv;
              else
                   return val;
         public void setLocale(Locale l) {
              this.locale = l;
         public Locale getLocale() {
              return this.locale == null ? Locale.ENGLISH : locale;
        public static Locale getLocale(String loc)
            if(loc!=null && loc.length()>0)
                return new Locale(loc);
            else
                return Locale.ENGLISH;
    }

  • Getting StorageManagementInformation using Lists and Libraries

    Good morning,
    I am using SPSite.StorageManagementInformation to get the size used for my sites. The idea I have is calling this method twice with an accurate number on the limits due to the bad performance this method have (the first call will be run
    with SPSite.StorageManagementInformationType.DocumentLibrary and the second one with SPSite.StorageManagementInformationType.DocumentLibrarySPSite.StorageManagementInformationType.List).
    Now my question is: what is a list and what is a library? I have run these two methods with a high value for testing and, for example, for Document Libraries I get the next template Ids: 101, 113,114,116,121,122,123 and 851.
    I would like to query every list in my SPSite and increase the counter depending on if it is a List or a Library (screenshots attached).
    Thanks in advance

    Hi,
    If you want to know how to check if ListTemplateType is list or library, the following code snippet for your reference:
    using (SPSite site = new SPSite("http://sp2013sps:8080"))
    SPWeb web = site.OpenWeb();
    int libsCount = 0;
    int listsCount = 0;
    foreach (SPList list in web.Lists)
    if (list.BaseType == SPBaseType.DocumentLibrary)
    libsCount++;
    else
    listsCount++;
    Console.WriteLine(libsCount+"|"+listsCount);
    Console.ReadKey();
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to use xliff as resource bundle ?

    I used to do Java i18n as following base on resource bundle in properties file format:
    Locale myLocale = new Locale("es", "ES");
    ResourceBundle bundle = ResourceBundle.getBundle("HelloResourceBundle", myLocale);
    System.out.println(bundle.getString("Hello"));I realized that there is new bundle called xliff like:
    <trans-unit id="Hello">
    <source>Hello how are you</source>
    <note>This is message to say hello</note>
    </trans-unit>Does java resource bundle support xliff file similar to properties file? if not, could anybody give an example how to handle xliff file?
    Thanks

    Following code worked for me:
    import oracle.javatools.resourcebundle.BundleFactory;
    import java.util.ResourceBundle;
    * This method retrieves localized strings from a given XLIF resource bundle.
    * @param bundleName The XLIF bundle from which the localized string is to be retrieved.
    * @param key The key of the localized string.
    * @return The localized string retrieved from the given XLIF bundle.
    public static String getXlifLocalizedString(String bundleName, String key) {
    if (StringUtils.isEmpty(key)) {
    return key;
    if (StringUtils.isEmpty(bundleName)) {
    return "[" + key + "]";
    String localizedString = null;
    ResourceBundle resourceBundle = null;
    try {
    resourceBundle = BundleFactory.getBundle(bundleName);
    localizedString = resourceBundle.getString(key);
    } catch (Exception e) {
    LOG.log(Level.SEVERE, "Problem in loading XLIF resource bundle: " + bundleName, e);
    return "[" + key + "]";
    return localizedString;
    }

  • Resource Bundle and encoding

    Hi,
    I'm too confused abt the encoding stuff that java does. First of all, I have a resource bundle written in chinese (Big5), in my program I've used getString(key) to retrieve the corresponding value to be displayed on the html page. I've got a few questions.
    1) From what I've understand, String is always in Unicode. Does that mean that when the string I've retrieved from Resource Bundle is converted to Unicode?
    2) When I do String a = ResourceBundle.getString(key), in order to display the correct Chinese character, I should do new String(a.getBytes("Big5")), right?? But i've got some weird characters. Why?
    3) It will work if I use new String(a.getBytes(), "Big5").
    I know that if I use a.getBytes(), it will return me bytes[] encoded using the system default encoding (in my case, Cp1252). But why is it returning me the correct string since my Resource Bundle is written in "Big5"? Or will getString(key) do some encoding?
    4) It will also work if I use this:
    BufferedReader reader = new BufferedReader(new InputStreamReader(new StringBufferInputStream(a),"Big5"));
    the display will be correct, why is this so? Is there any other class besides StringBufferInputStream as it is deprecated.
    I've been researching on this encoding topic for quite some time but didn't manage to understand it at all. Please help!! Thanks!

    Hi,
    I'm too confused abt the encoding stuff that java
    does. First of all, I have a resource bundle written
    in chinese (Big5), in my program I've used
    getString(key) to retrieve the corresponding value to
    be displayed on the html page. I've got a few
    questions.PropertyResourceBundles should be converted using the native2ascii tool. ListResourceBundles should be compiled with the -encoding flag. In your case:
    1. native2ascii -encoding Big5 resource.txt bundle.properties, or
    2. javac -encoding Big5 bundle.java
    >
    1) From what I've understand, String is always in
    Unicode. Does that mean that when the string I've
    retrieved from Resource Bundle is converted to
    Unicode?Once you have compiled the ResourceBundle, all text objects are represented as Unicode. Your retrieved String is Unicode text.
    2) When I do String a = ResourceBundle.getString(key),
    in order to display the correct Chinese character, I
    should do new String(a.getBytes("Big5")), right?? But
    i've got some weird characters. Why?No, you should not try to convert the String further. You have a perfectly good Unicode String at that point. You have weird characters after the above operation because you are converting Big5 text to a Unicode String using the default charset on your host...which may not be Big5 at all. In fact, it is not Big5 since you say you see strange characters.
    3) It will work if I use new String(a.getBytes(),
    "Big5").
    I know that if I use a.getBytes(), it will return me
    bytes[] encoded using the system default encoding (in
    my case, Cp1252). But why is it returning me the
    correct string since my Resource Bundle is written in
    "Big5"? Or will getString(key) do some encoding?Do not convert the String. Your operations with getBytes and new String() are an attempt to recreate the original String...which you already have...it is unnecessary.
    4) It will also work if I use this:
    BufferedReader reader = new BufferedReader(new
    InputStreamReader(new
    StringBufferInputStream(a),"Big5"));
    the display will be correct, why is this so? Is there
    any other class besides StringBufferInputStream as it
    is deprecated.Do not convert the String. It is already usable.
    >
    I've been researching on this encoding topic for quite
    some time but didn't manage to understand it at all.
    Please help!! Thanks!String a = bundle.getString(SOME_KEY);
    component.setText(a);
    This should be sufficient to retrieve and display the text, assuming all else is correct.
    Regards,
    John O'Conner

  • Using "{" character in resource bundle.

    Hello,
    I was to use a "{", "}" characters in resource bundle. The problem is that, when I get the resource value, I use the method: MessageUtils.substituteParams in order to replace parameters like {0}, {1}, ...
    Is there a way of escaping the "{", "}" characters with subtitureParams method ? I tried "\{" and it still didn't work.

    Please see the java-api docs for your answer:
    http://java.sun.com/j2se/1.5.0/docs/api/java/text/MessageFormat.html
    Using "\u2019" only works because it is an alternative quote character, but it is not the same as the standard ascii single quote (')
    If you want to include a ' in your format string, then put two next to each other like '' (like Pascal if anyone remembers that ...)
    If you want to quote anything else, then use single quotes to surround the quoted text eg. "The message is '{not a param string}'"

  • Resource Bundles and Locales

    Hi!!
    I am researching Resource Bundles and how they work and have a question. Do you have to use Locales to determine which bundle to use? You see I am developing a product that will only be used in the US but will be used by several different companies. I would like to use a resource bundle for each company instead of for each country!! Is this possible? and if it is, how?
    Thanks for your time

    If you want to have default values, I would suggest using ResourceBundles and just sending in a Locale with the variant of the company. That way if your application ever needs to be localized it won't take much to change it. Your properties files would be named baseName_languageCode_CountryCode_Variant.properties.
    It has been a great advantage for the program that I am developing.

  • Resource bundles and sort order?

    I am wanting to use a resource bundle to store entries that can then be displayed sorted in a combo-box component in an HTML page, though it does not seem to be working out. Basically I am using JSTL and Struts2, and the select component can take various collection types including a Map. As an alternative I tried using a properties file, but this has two issues:
    - I loose the locale resolution mechanism provided by ResourceBundle
    - The order in which the entries appeared in the file is lost (it does not inherit from LinkedHashMap)
    What approach would you recommend to loading a localised list and then ensure it displays in the order of the display values. I looked around the net, but I am yet to find anything of use.

    If you want to have default values, I would suggest using ResourceBundles and just sending in a Locale with the variant of the company. That way if your application ever needs to be localized it won't take much to change it. Your properties files would be named baseName_languageCode_CountryCode_Variant.properties.
    It has been a great advantage for the program that I am developing.

Maybe you are looking for

  • How to show data from a table having large number of columns

    Hi , I have a report with single row having large number of columns . I have to use a scroll bar to see all the columns. Is it possible to design report in below format(half columns on one side of page, half on other side of page : Column1 Data Colum

  • Neeed help installing Mac Os X on External Drive

    i have a 10 gb hard drive, and i can install mac os 9, eaasliy but when i tried to install os X on my external hard drive. i rebot from disc one, then click english, then conmtinue, then aggre, and then it ccomes to the part were i pick where to inst

  • 1.83 Ghz Refurb

    Although I have been a Mac convert for over a year, I just recently discovered these discussions. My question is this: after 3 years of extremely reliable use, I am ready to retire my Sony VAIO notebook. (As a sidenote, it also ran hot enough to sear

  • Video quality

    I just got the Apple composite cables so that I could watch National Treasure on my TV. At first it would play until I changed the video out settings to NTSC. Everything is working well, but the video quality is poor. I'm playing the movie on a Sony

  • Linkedin for Dynamics CRM - several Premium accounts necessary?

    Hi,  We have integrated the Linkedin Plugin to our Dynamics CRM 2013 for our company. The installation is ok, however we can have access to Lindekin interesting functionnalities only if we have a premium account. Can the company have just one premium