incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1222461 [1/2] - in /incubator/lcf/branches/CONNECTORS-335: connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ connectors/alfresco/connector/src/main/java/org/apache/manifoldcf/...
Date Thu, 22 Dec 2011 21:25:28 GMT
Author: kwright
Date: Thu Dec 22 21:25:27 2011
New Revision: 1222461

URL: http://svn.apache.org/viewvc?rev=1222461&view=rev
Log:
Add a messages class for every connector, which uses the local classloader to get at the resources needed.

Added:
    incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/alfresco/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/authorities/DCTM/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/nullauthority/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/connector/src/main/java/org/apache/manifoldcf/agents/output/nullconnector/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/Messages.java   (with props)
    incubator/lcf/branches/CONNECTORS-335/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/Messages.java   (with props)
Modified:
    incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java
    incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisAuthorityConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisRepositoryConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/DCTM.java
    incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/FileConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/JDBCConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/MeridioConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/OpenSearchServerConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/RSSConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
    incubator/lcf/branches/CONNECTORS-335/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/SolrConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
    incubator/lcf/branches/CONNECTORS-335/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/WikiConnector.java
    incubator/lcf/branches/CONNECTORS-335/framework/core/src/main/java/org/apache/manifoldcf/core/i18n/Messages.java

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/ActiveDirectoryAuthority.java Thu Dec 22 21:25:27 2011
@@ -18,7 +18,6 @@
 */
 package org.apache.manifoldcf.authorities.authorities.activedirectory;
 
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
 import org.apache.manifoldcf.authorities.interfaces.*;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.authorities.authorities.activedirectory;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.authorities.authorities.common";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/activedirectory/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/activedirectory/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/alfresco/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/alfresco/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/alfresco/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/alfresco/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.alfresco;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.alfresco";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/alfresco/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/alfresco/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/alfresco/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisAuthorityConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisAuthorityConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisAuthorityConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisAuthorityConnector.java Thu Dec 22 21:25:27 2011
@@ -25,7 +25,6 @@ import java.util.Map;
 import org.apache.commons.lang.StringUtils;
 import org.apache.manifoldcf.authorities.authorities.BaseAuthorityConnector;
 import org.apache.manifoldcf.authorities.interfaces.AuthorizationResponse;
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.CacheManagerFactory;
 import org.apache.manifoldcf.core.interfaces.ConfigParams;
 import org.apache.manifoldcf.core.interfaces.ICacheCreateHandle;

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisRepositoryConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisRepositoryConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisRepositoryConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/CmisRepositoryConnector.java Thu Dec 22 21:25:27 2011
@@ -51,7 +51,6 @@ import org.apache.chemistry.opencmis.com
 import org.apache.chemistry.opencmis.commons.impl.Constants;
 import org.apache.commons.io.IOUtils;
 import org.apache.commons.lang.StringUtils;
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.agents.interfaces.RepositoryDocument;
 import org.apache.manifoldcf.agents.interfaces.ServiceInterruption;
 import org.apache.manifoldcf.core.interfaces.ConfigParams;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.cmis;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.cmis";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/cmis/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/cmis/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/authorities/DCTM/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/authorities/DCTM/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/authorities/DCTM/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/authorities/DCTM/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.authorities.DCTM;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.authorities.DCTM";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/authorities/DCTM/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/authorities/DCTM/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/DCTM.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/DCTM.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/DCTM.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/DCTM.java Thu Dec 22 21:25:27 2011
@@ -19,7 +19,6 @@
 package org.apache.manifoldcf.crawler.connectors.DCTM;
 
 import org.apache.log4j.*;
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
 import org.apache.manifoldcf.crawler.interfaces.*;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.DCTM;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.DCTM";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/documentum/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/DCTM/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java Thu Dec 22 21:25:27 2011
@@ -19,7 +19,6 @@
 package org.apache.manifoldcf.crawler.connectors.filenet;
 
 import org.apache.log4j.*;
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
 import org.apache.manifoldcf.crawler.interfaces.*;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.filenet;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.filenet";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/FileConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/FileConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/FileConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/FileConnector.java Thu Dec 22 21:25:27 2011
@@ -18,7 +18,6 @@
 */
 package org.apache.manifoldcf.crawler.connectors.filesystem;
 
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
 import org.apache.manifoldcf.crawler.interfaces.*;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.filesystem;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.filesystem";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filesystem/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/GTSConnector.java Thu Dec 22 21:25:27 2011
@@ -18,7 +18,6 @@
 */
 package org.apache.manifoldcf.agents.output.gts;
 
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
 import org.apache.manifoldcf.agents.system.Logging;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.agents.output.gts;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.agents.output.gts";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/gts/connector/src/main/java/org/apache/manifoldcf/agents/output/gts/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.sharedrive;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.sharedrive";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/jcifs/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharedrive/SharedDriveConnector.java Thu Dec 22 21:25:27 2011
@@ -42,7 +42,6 @@ import jcifs.smb.SmbFileFilter;
 
 import org.apache.manifoldcf.agents.interfaces.RepositoryDocument;
 import org.apache.manifoldcf.agents.interfaces.ServiceInterruption;
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.IThreadContext;
 import org.apache.manifoldcf.core.interfaces.IHTTPOutput;
 import org.apache.manifoldcf.core.interfaces.IPostParameters;

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/JDBCConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/JDBCConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/JDBCConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/JDBCConnector.java Thu Dec 22 21:25:27 2011
@@ -18,7 +18,6 @@
 */
 package org.apache.manifoldcf.crawler.connectors.jdbc;
 
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
 import org.apache.manifoldcf.crawler.interfaces.*;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.jdbc;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.jdbc";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/jdbc/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jdbc/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/LivelinkConnector.java Thu Dec 22 21:25:27 2011
@@ -18,7 +18,6 @@
 */
 package org.apache.manifoldcf.crawler.connectors.livelink;
 
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
 import org.apache.manifoldcf.crawler.interfaces.*;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.livelink;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.livelink";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/livelink/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/livelink/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/MeridioConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/MeridioConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/MeridioConnector.java (original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/MeridioConnector.java Thu Dec 22 21:25:27 2011
@@ -22,7 +22,6 @@ import com.meridio.www.MeridioDMWS.DmLog
 import com.meridio.www.MeridioDMWS.DmPermission;
 import com.meridio.www.MeridioDMWS.DmSearchScope;
 import com.meridio.www.MeridioDMWS.DmVersionInfo;
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.agents.interfaces.*;
 import org.apache.manifoldcf.crawler.connectors.meridio.meridiowrapper.DMSearchResults;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.crawler.connectors.meridio;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.crawler.connectors.meridio";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/meridio/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/meridio/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/nullauthority/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/nullauthority/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/nullauthority/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/nullauthority/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.authorities.authorities.nullauthority;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.authorities.authorities.nullauthority";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/nullauthority/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/nullauthority/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/nullauthority/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/connector/src/main/java/org/apache/manifoldcf/agents/output/nullconnector/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/connector/src/main/java/org/apache/manifoldcf/agents/output/nullconnector/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/connector/src/main/java/org/apache/manifoldcf/agents/output/nullconnector/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/connector/src/main/java/org/apache/manifoldcf/agents/output/nullconnector/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.agents.output.nullconnector;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.agents.output.nullconnector";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/connector/src/main/java/org/apache/manifoldcf/agents/output/nullconnector/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/nulloutput/connector/src/main/java/org/apache/manifoldcf/agents/output/nullconnector/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id

Added: incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/Messages.java (added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/Messages.java Thu Dec 22 21:25:27 2011
@@ -0,0 +1,94 @@
+/* $Id$ */
+
+/**
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements. See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the "License"); you may not use this file except in compliance with
+* the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package org.apache.manifoldcf.agents.output.opensearchserver;
+
+import java.util.Locale;
+
+public class Messages extends org.apache.manifoldcf.core.i18n.Messages
+{
+  public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.agents.output.opensearchserver";
+
+  /** Constructor - do no instantiate
+  */
+  private Messages()
+  {
+  }
+  
+  // These four have limited applicability since they are all local to the core jar, which generally does not render
+  // text.
+  
+  public static String getString(String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(Locale locale, String messageKey)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, null);
+  }
+  
+  public static String getString(Locale locale, String messageKey, Object[] args)
+  {
+    return getString(DEFAULT_BUNDLE_NAME, locale, messageKey, args);
+  }
+  
+  // More general methods which allow bundlenames and class loaders to be specified.
+  
+  public static String getString(String bundleName, String messageKey)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, null);
+  }
+  
+  public static String getString(String bundleName, String messageKey, Object[] args)
+  {
+    return getString(bundleName, Locale.getDefault(), messageKey, args);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, String messageKey, Object[] args)
+  {
+    return getString(classLoader, bundleName, Locale.getDefault(), messageKey, args);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey)
+  {
+    return getString(bundleName, locale, messageKey, null);
+  }
+
+  public static String getString(ClassLoader classLoader, String bundleName, Locale locale, String messageKey)
+  {
+    return getString(classLoader, bundleName, locale, messageKey, null);
+  }
+  
+  public static String getString(String bundleName, Locale locale, String messageKey, Object[] args)
+  {
+    return getString(Messages.class.getClassLoader(), bundleName, locale, messageKey, args);
+  }
+  
+}
+

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/Messages.java
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message