本文整理了Java中net.md_5.bungee.config.YamlConfiguration.load()
方法的一些代码示例,展示了YamlConfiguration.load()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YamlConfiguration.load()
方法的具体详情如下:
包路径:net.md_5.bungee.config.YamlConfiguration
类名称:YamlConfiguration
方法名:load
暂无
代码示例来源:origin: SpigotMC/BungeeCord
@Override
public Configuration load(String string)
{
return load( string, null );
}
代码示例来源:origin: SpigotMC/BungeeCord
@Override
public Configuration load(File file) throws IOException
{
return load( file, null );
}
代码示例来源:origin: SpigotMC/BungeeCord
@Override
public Configuration load(Reader reader)
{
return load( reader, null );
}
代码示例来源:origin: SpigotMC/BungeeCord
@Override
public Configuration load(InputStream is)
{
return load( is, null );
}
代码示例来源:origin: SpigotMC/BungeeCord
@Override
public Configuration load(File file, Configuration defaults) throws IOException
{
try ( FileInputStream is = new FileInputStream( file ) )
{
return load( is, defaults );
}
}
代码示例来源:origin: WaterfallMC/Waterfall-Old
@Override
public Configuration load(String string)
{
return load( string, null );
}
代码示例来源:origin: WaterfallMC/Waterfall-Old
@Override
public Configuration load(InputStream is)
{
return load( is, null );
}
代码示例来源:origin: Dytanic/CloudNet
@Override
public Configuration load(File file) throws IOException
{
return load(file, null);
}
代码示例来源:origin: Dytanic/CloudNet
@Override
public Configuration load(InputStream is)
{
return load(is, null);
}
代码示例来源:origin: WaterfallMC/Waterfall-Old
@Override
public Configuration load(File file) throws IOException
{
return load( file, null );
}
代码示例来源:origin: WaterfallMC/Waterfall-Old
@Override
public Configuration load(Reader reader)
{
return load( reader, null );
}
代码示例来源:origin: Dytanic/CloudNet
@Override
public Configuration load(Reader reader)
{
return load(reader, null);
}
代码示例来源:origin: Dytanic/CloudNet
@Override
public Configuration load(String string)
{
return load(string, null);
}
代码示例来源:origin: Dytanic/CloudNet
@Override
public Configuration load(File file, Configuration defaults) throws IOException
{
try (Reader reader = new BufferedReader(new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8)))
{
return load(reader, defaults);
}
}
代码示例来源:origin: WaterfallMC/Waterfall-Old
@Override
public Configuration load(File file, Configuration defaults) throws IOException
{
try ( InputStreamReader reader = new InputStreamReader( new FileInputStream( file ), UTF8 ) )
{
return load( reader, defaults );
}
}
内容来源于网络,如有侵权,请联系作者删除!