org.bbqjs.compiler.language.check
Class CompiledJavaScriptFile
java.lang.Object
org.bbqjs.compiler.language.check.CompiledJavaScriptFile
public class CompiledJavaScriptFile
- extends Object
This class represents a compiled JavaScript file - we use it to ensure that it contains the use of
a given language translation. This lets us warn the user when redundant language
translations are found.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompiledJavaScriptFile
public CompiledJavaScriptFile()
CompiledJavaScriptFile
public CompiledJavaScriptFile(File file)
getName
public String getName()
setName
public void setName(String name)
getContents
public String getContents()
setContents
public void setContents(String contents)
setFile
public void setFile(File file)
setFile
public void setFile(URL file)
contains
public boolean contains(String key)
occurrencesOf
public int occurrencesOf(String key)
containsArray
public boolean containsArray(String key)
getArrayString
protected String getArrayString(String string)
Copyright © 2012. All Rights Reserved.