mirror of
https://github.com/lightbend/config.git
synced 2025-03-18 13:20:23 +08:00
Move ConfigDocument and ConfigNode into a "parser" package
This should cut down on people wasting time on these when they are looking for the regular config API; they are for a narrower use-case.
This commit is contained in:
parent
2af0b42ad9
commit
2d83b1fb6b
@ -3,7 +3,7 @@
|
||||
*/
|
||||
package com.typesafe.config.impl;
|
||||
|
||||
import com.typesafe.config.ConfigNode;
|
||||
import com.typesafe.config.parser.ConfigNode;
|
||||
import java.util.Collection;
|
||||
|
||||
abstract class AbstractConfigNode implements ConfigNode {
|
||||
|
@ -22,6 +22,7 @@ import java.net.URLConnection;
|
||||
import java.util.*;
|
||||
|
||||
import com.typesafe.config.*;
|
||||
import com.typesafe.config.parser.*;
|
||||
|
||||
/**
|
||||
* Internal implementation detail, not ABI stable, do not touch.
|
||||
|
@ -1,6 +1,6 @@
|
||||
package com.typesafe.config.impl;
|
||||
|
||||
import com.typesafe.config.ConfigDocument;
|
||||
import com.typesafe.config.parser.ConfigDocument;
|
||||
import com.typesafe.config.ConfigException;
|
||||
import com.typesafe.config.ConfigParseOptions;
|
||||
import com.typesafe.config.ConfigValue;
|
||||
|
@ -1,4 +1,7 @@
|
||||
package com.typesafe.config;
|
||||
package com.typesafe.config.parser;
|
||||
|
||||
import com.typesafe.config.ConfigParseOptions;
|
||||
import com.typesafe.config.ConfigValue;
|
||||
|
||||
/**
|
||||
* An object parsed from the original input text, which can be used to
|
@ -1,4 +1,6 @@
|
||||
package com.typesafe.config;
|
||||
package com.typesafe.config.parser;
|
||||
|
||||
import com.typesafe.config.ConfigParseOptions;
|
||||
|
||||
import com.typesafe.config.impl.ConfigImpl;
|
||||
import com.typesafe.config.impl.Parseable;
|
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Copyright (C) 2015 Typesafe Inc. <http://typesafe.com>
|
||||
*/
|
||||
package com.typesafe.config;
|
||||
package com.typesafe.config.parser;
|
||||
|
||||
/**
|
||||
* An immutable node that makes up the ConfigDocument AST, and which can be
|
@ -5,6 +5,7 @@ import java.nio.charset.StandardCharsets
|
||||
import java.nio.file.{ Paths, Files }
|
||||
|
||||
import com.typesafe.config._
|
||||
import com.typesafe.config.parser._
|
||||
import org.junit.Assert._
|
||||
import org.junit.Test
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user