Author: kenney
Date: Thu Aug 10 06:10:52 2006
New Revision: 430374
URL: http://svn.apache.org/viewvc?rev=430374&view=rev
Log:
Add a SinkFactory interface
Added:
maven/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/SinkFactory.java
(with props)
Added:
maven/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/SinkFactory.java
URL:
http://svn.apache.org/viewvc/maven/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/SinkFactory.java?rev=430374&view=auto
==
---
maven/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/SinkFactory.java
(added)
+++
maven/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/SinkFactory.java
Thu Aug 10 06:10:52 2006
@@ -0,0 +1,27 @@
+package org.apache.maven.doxia.sink;
+
+/*
+ * Copyright 2005 The Apache Software Foundation.
+ *
+ * Licensed 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.
+ */
+
+import java.io.File;
+
+/**
+ * @author Kenney Westerhof
+ */
+public interface SinkFactory
+{
+Sink createSink( File outputDir, String outputName );
+}
Propchange:
maven/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/SinkFactory.java
--
svn:eol-style = native
Propchange:
maven/doxia/trunk/doxia-sink-api/src/main/java/org/apache/maven/doxia/sink/SinkFactory.java
--
svn:keywords = "Author Date Id Revision"