public class ResourceBundleFileNode extends FileNode implements IResourceBundleFileNode
IContainerNode.ContainerTypescopeEMPTY_CONTAINERemptyNodeArray, parentUNKNOWN| Constructor and Description |
|---|
ResourceBundleFileNode(IWorkspace workspace,
String pathName,
String locale)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBundleName()
Returns the bundle name of the associated .properties file which is the
name of the file without file extension.
|
String |
getLocale()
Returns the locale of this file node if the associated file is locale
dependent.
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
addDeferredFunctionNode, addEmbedNode, addImportNode, addProblem, addRequiredResourceBundle, analyze, collectImportNodes, getEmbedNodes, getFileSpecificaitonGetter, getFileSpecification, getImportNodes, getIncludeHandler, getIncludeTreeLastModified, getOffsetLookup, getProblems, getRequiredResourceBundles, getTargetAttributes, getTemporaryEnclosingScope, getTopLevelDefinitionNodes, getTopLevelDefinitions, getWorkspace, hasIncludes, initializeScope, parseRequiredFunctionBodies, populateFunctionNodes, processAST, reconnectDefinitions, setOffsetLookup, setParent, setProblemsgetAllImportNodes, getAllImports, getASScope, getScope, optimizeChildren, runPostProcess, runPostProcess, setScopereplaceChildaddItem, addItemAfterNormalization, addTemporaryItem, buildInnerString, contains, getContainerType, getRemovedConditionalCompileNode, removeItem, removeTemporaryItem, setContainerType, setRemovedConditionalCompileNodeaddChild, addChild, addChildInOrder, addChildPostNormalize, addTemporaryChild, getChild, getChildCount, getInitialChildCount, normalize, removeAllChildren, removeChild, removeTemporaryChild, sortChildren, swapChildrenbuildStringRecursive, canContinueContainmentSearch, combineAttributes, connectedToProjectScope, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, isTerminal, isTransparent, looselyContains, setChildren, span, span, span, startAfter, startAfter, startBefore, startBefore, toString, tryGetOffsetLookup, verifygetColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, spanclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIncludeTreeLastModified, getOffsetLookup, getProblems, getTargetAttributes, getTopLevelDefinitionNodes, getTopLevelDefinitions, hasIncludes, populateFunctionNodesgetAllImportNodes, getAllImports, getScopecontains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic ResourceBundleFileNode(IWorkspace workspace, String pathName, String locale)
public ASTNodeID getNodeID()
IASNodepublic String getBundleName()
IResourceBundleFileNodegetBundleName in interface IResourceBundleFileNodepublic String getLocale()
IResourceBundleFileNodegetLocale in interface IResourceBundleFileNodenull if the
associated file is not a locale dependent file which means that the file
applies to all the locales.Copyright © 2016 The Apache Software Foundation. All rights reserved.