org.nuiton.i18n.plugin
Class I18nArtifact
java.lang.Object
org.nuiton.i18n.plugin.I18nArtifact
public class I18nArtifact
- extends java.lang.Object
- Since:
- 0.12
- Author:
- chemit
|
Constructor Summary |
I18nArtifact(org.apache.maven.artifact.Artifact artifact)
|
I18nArtifact(org.apache.maven.artifact.Artifact artifact,
java.io.File file)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
artifact
protected final org.apache.maven.artifact.Artifact artifact
url
protected final java.net.URL url
bundles
protected I18nBundle[] bundles
I18nArtifact
public I18nArtifact(org.apache.maven.artifact.Artifact artifact)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
I18nArtifact
public I18nArtifact(org.apache.maven.artifact.Artifact artifact,
java.io.File file)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getArtifact
public org.apache.maven.artifact.Artifact getArtifact()
getUrl
public java.net.URL getUrl()
getBundleEntries
public I18nBundleEntry[] getBundleEntries(java.util.Locale l,
java.util.Locale defaultLocale)
detectBundles
public boolean detectBundles()
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2007-2009 CodeLutin. All Rights Reserved.