public final class IO extends Object
| Modifier and Type | Method and Description |
|---|---|
static File |
getFile(String filename)
Read to File
|
static io.vertx.core.json.JsonArray |
getJArray(String filename)
Read to JsonArray
|
static io.vertx.core.json.JsonObject |
getJObject(String filename)
Read to JsonObject
|
static String |
getPath(String filename)
Read to Path
|
static Properties |
getProp(String filename)
Read to property object
|
static String |
getString(InputStream in)
Read to String
|
static String |
getString(String filename) |
static URL |
getURL(String filename)
Read to URL
|
static <T> T |
getYaml(String filename)
Read yaml to JsonObject
|
static YamlType |
getYamlType(String filename)
Check yaml type
|
public static io.vertx.core.json.JsonArray getJArray(String filename)
filename - The filename to describe source pathpublic static io.vertx.core.json.JsonObject getJObject(String filename)
filename - The filename to describe source pathpublic static String getString(InputStream in)
in - public static <T> T getYaml(String filename)
filename - public static YamlType getYamlType(String filename)
filename - public static Properties getProp(String filename)
filename - Copyright © 2017. All rights reserved.