Lines Matching defs:name
31 private String currentUser; // The name of the person currently using the editor
32 private String baseClass; // The name of the base class of the active resource bundle
71 * This constructor creates an entirely blank RBManager and base Bundle. Only the base class name is defined.
138 // Starts with the base class name and ends in proper suffix (above)
139 // Base name is followed by . or _ (below)
199 o = descriptors.get("file"); if (o != null) dict.name = ((String) o);
237 // Grab the name and value (translation) from the line
301 o = descriptors.get("file"); if (o != null) dict.name = ((String) o);
339 // Grab the name and value (translation) from the line
467 public boolean editItem(BundleItem item, String name, String value, String groupName, String comment, Hashtable lookups) {
468 if (name == null || name.equals("") || groupName == null || groupName.equals("") || item == null) return false;
478 if (!oldName.equals(name)) {
480 oldItem.setKey(name);
501 * to make sure that the item name does not all ready exist. If it does exist the item is not created.
502 * @param name The unique key of the item
504 * @param groupName The group name, should all ready exist in the base class
509 public boolean createItem(String name, String value, String groupName, String comment, Hashtable lookups) {
510 if (name == null || name.equals("") || groupName == null || groupName.equals("")) return false;
513 if (mainBundle.allItems.containsKey(name)) return false;
520 BundleItem mainItem = new BundleItem(mainGroup, name, value);
525 mainBundle.allItems.put(name, mainItem);
541 BundleItem item = new BundleItem(group, name, value);
546 bundle.allItems.put(name, item);
555 * to make sure that the group name does not all ready exist. If it does exist the group is not created.
556 * @param groupName The unique group name to be created
597 * Remove resource items of the given name from each of the resource bundles that the system
643 * @param manager The name of the person responsible for this resource, can be <CODE>null</CODE>
645 * @param language A more formal name for the language (e.g. 'English', 'Deutsch', etc.), can be <CODE>null</CODE>
646 * @param country A more formal name for the country described by the resource, can be <CODE>null</CODE>
647 * @param variant A more formal name for the variant described by the resource, can be <CODE>null</CODE>
659 bundle.name = title;
686 String name = (String)keys.nextElement();
687 String value = (String)mainItem.getLookups().get(name);
688 item.getLookups().put(new String(name), new String(value));
741 String name = bundle.getBundleGroup(i).getName();
742 v.addElement(name);
800 * Returns the name of the user currently using the editor
808 * Sets the name of the user currently using the editor
816 * Sets the name of the base class associated with this resource bundle
833 * Returns the base class name if known, or "Unknown Base Class" otherwise.
840 * Returns the base class name or null if it does not exist.
873 * Returns the name of the file that is the base class file for the resource bundle.
911 String name = line.substring(0,line.indexOf(" ")).trim();
912 // Now strip off the tag name
916 result.put(name,line.substring(0,line.indexOf("@")).trim());
920 result.put(name,line.trim());