org.nuiton.i18n.plugin.bundle
Class I18nArtifact

java.lang.Object
  extended by org.nuiton.i18n.plugin.bundle.I18nArtifact

public class I18nArtifact
extends Object

Since:
0.12
Author:
tchemit

Field Summary
protected  org.apache.maven.artifact.Artifact artifact
           
protected  I18nBundle[] bundles
           
protected  URL url
           
 
Constructor Summary
I18nArtifact(org.apache.maven.artifact.Artifact artifact)
           
I18nArtifact(org.apache.maven.artifact.Artifact artifact, File file)
           
 
Method Summary
 boolean detectBundles()
           
 org.apache.maven.artifact.Artifact getArtifact()
           
 I18nBundleEntry[] getBundleEntries(Locale l, Locale defaultLocale)
           
 URL getUrl()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

artifact

protected final org.apache.maven.artifact.Artifact artifact

url

protected final URL url

bundles

protected I18nBundle[] bundles
Constructor Detail

I18nArtifact

public I18nArtifact(org.apache.maven.artifact.Artifact artifact)
             throws MalformedURLException
Throws:
MalformedURLException

I18nArtifact

public I18nArtifact(org.apache.maven.artifact.Artifact artifact,
                    File file)
             throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getArtifact

public org.apache.maven.artifact.Artifact getArtifact()

getUrl

public URL getUrl()

getBundleEntries

public I18nBundleEntry[] getBundleEntries(Locale l,
                                          Locale defaultLocale)

detectBundles

public boolean detectBundles()
                      throws IOException
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2010 CodeLutin. All Rights Reserved.