org.nuiton.i18n.plugin
Class I18nArtifact

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

public class I18nArtifact
extends java.lang.Object

Since:
0.12
Author:
chemit

Field Summary
protected  org.apache.maven.artifact.Artifact artifact
           
protected  I18nBundle[] bundles
           
protected  java.net.URL url
           
 
Constructor Summary
I18nArtifact(org.apache.maven.artifact.Artifact artifact)
           
I18nArtifact(org.apache.maven.artifact.Artifact artifact, java.io.File file)
           
 
Method Summary
 boolean detectBundles()
           
 org.apache.maven.artifact.Artifact getArtifact()
           
 I18nBundleEntry[] getBundleEntries(java.util.Locale l, java.util.Locale defaultLocale)
           
 java.net.URL getUrl()
           
 java.lang.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 java.net.URL url

bundles

protected I18nBundle[] bundles
Constructor Detail

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
Method Detail

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.