manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1222461 [2/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
Modified: incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/OpenSearchServerConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/OpenSearchServerConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/OpenSearchServerConnector.java
(original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/opensearchserver/connector/src/main/java/org/apache/manifoldcf/agents/output/opensearchserver/OpenSearchServerConnector.java
Thu Dec 22 21:25:27 2011
@@ -29,7 +29,6 @@ import java.util.TreeMap;
 
 import org.apache.commons.io.FilenameUtils;
 import org.apache.commons.io.IOUtils;
-import org.apache.manifoldcf.core.i18n.*;
 import org.apache.manifoldcf.agents.interfaces.IOutputAddActivity;
 import org.apache.manifoldcf.agents.interfaces.IOutputNotifyActivity;
 import org.apache.manifoldcf.agents.interfaces.IOutputRemoveActivity;

Added: incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/Messages.java
(added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/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.rss;
+
+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.rss";
+
+  /** 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/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/RSSConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/RSSConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/RSSConnector.java
(original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/rss/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/rss/RSSConnector.java
Thu Dec 22 21:25:27 2011
@@ -18,7 +18,6 @@
 */
 package org.apache.manifoldcf.crawler.connectors.rss;
 
-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/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/Messages.java
(added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/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.sharepoint;
+
+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.sharepoint";
+
+  /** 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/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Thu Dec 22 21:25:27 2011
@@ -18,7 +18,6 @@
 */
 package org.apache.manifoldcf.crawler.connectors.sharepoint;
 
-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/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/Messages.java
(added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/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.solr;
+
+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.solr";
+
+  /** 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/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Added: incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/Messages.java
(added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/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.webcrawler;
+
+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.webcrawler";
+
+  /** 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/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

Modified: incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
(original)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/webcrawler/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/webcrawler/WebcrawlerConnector.java
Thu Dec 22 21:25:27 2011
@@ -18,7 +18,6 @@
 */
 package org.apache.manifoldcf.crawler.connectors.webcrawler;
 
-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/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/Messages.java?rev=1222461&view=auto
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/Messages.java
(added)
+++ incubator/lcf/branches/CONNECTORS-335/connectors/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/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.wiki;
+
+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.wiki";
+
+  /** 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/wiki/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/wiki/Messages.java
------------------------------------------------------------------------------
    svn:eol-style = native

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

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

Modified: incubator/lcf/branches/CONNECTORS-335/framework/core/src/main/java/org/apache/manifoldcf/core/i18n/Messages.java
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/core/src/main/java/org/apache/manifoldcf/core/i18n/Messages.java?rev=1222461&r1=1222460&r2=1222461&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/core/src/main/java/org/apache/manifoldcf/core/i18n/Messages.java
(original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/core/src/main/java/org/apache/manifoldcf/core/i18n/Messages.java
Thu Dec 22 21:25:27 2011
@@ -26,7 +26,7 @@ import java.util.ResourceBundle;
 import org.apache.manifoldcf.core.interfaces.*;
 import org.apache.manifoldcf.core.system.Logging;
 
-public final class Messages
+public class Messages
 {
   public static final String DEFAULT_BUNDLE_NAME="org.apache.manifoldcf.core.i18n.common";
 



Mime
View raw message