+++ /dev/null
-/*--------------------------------------------------------------------------\r
- * Copyright 2009 Taro L. Saito\r
- *\r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- *--------------------------------------------------------------------------*/\r
-//--------------------------------------\r
-// XerialJ\r
-//\r
-// SilkWalker.java\r
-// Since: Feb 2, 2009 11:29:02 AM\r
-//\r
-// $URL: http://www.xerial.org/svn/project/XerialJ/trunk/xerial-core/src/main/java/org/xerial/silk/SilkWalker.java $\r
-// $Author: leo $\r
-//--------------------------------------\r
-package org.xerial.silk;\r
-\r
-import java.io.IOException;\r
-import java.io.InputStream;\r
-import java.io.Reader;\r
-import java.net.URL;\r
-\r
-import org.xerial.util.tree.TreeWalker;\r
-import org.xerial.util.tree.TreeWalkerImpl;\r
-\r
-/**\r
- * {@link TreeWalker} implementation of the Silk format.\r
- * \r
- * @author leo\r
- * \r
- */\r
-public class SilkWalker extends TreeWalkerImpl\r
-{\r
-\r
- /**\r
- * Creates a new SilkWalker with the specified input stream\r
- * \r
- * @param input\r
- * `@throws IOException\r
- */\r
- protected SilkWalker(InputStream input) throws IOException\r
- {\r
- super(new SilkPullParser(input));\r
- }\r
-\r
- /**\r
- * Creates a new SilkWalker with the specified reader\r
- * \r
- * @param input\r
- * @throws IOException\r
- */\r
- public SilkWalker(Reader input) throws IOException\r
- {\r
- super(new SilkPullParser(input));\r
- }\r
-\r
- public SilkWalker(String resourceBasePath, String resourceName) throws IOException\r
- {\r
- super(new SilkPullParser(resourceBasePath, resourceName));\r
- }\r
-\r
- public SilkWalker(URL resourcePath) throws IOException\r
- {\r
- super(new SilkPullParser(resourcePath));\r
- }\r
-\r
- public SilkWalker(URL resourcePath, SilkParserConfig config) throws IOException\r
- {\r
- super(new SilkPullParser(resourcePath, config));\r
- }\r
-\r
- public SilkWalker(URL resource, SilkEnv env) throws IOException\r
- {\r
- super(new SilkPullParser(resource, env));\r
- }\r
-\r
-}\r