public class Applications extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Applications.ComponentTreeVisitor |
static class |
Applications.Helper |
static class |
Applications.LastIndexTracker |
| Modifier and Type | Method and Description |
|---|---|
static File |
asFile(String url) |
static URL |
asURL(String url) |
static void |
bindContent(AppComponent parent,
AppComponent child) |
static void |
copy(InputStream in,
OutputStream out,
int bufferSize) |
static void |
copyResources(AppComponent parent,
AppComponent child) |
static String |
debugString(Object o) |
static AppFrame |
frameOf(AppComponent child) |
static Properties |
getExtensionToProperties() |
static String |
getFileExtension(String name) |
static String |
getFileName(String s) |
static boolean |
isBlank(String in) |
static boolean |
isDeepChildOf(AppComponent child,
AppComponent parent) |
static AppImage |
loadIcon(String url,
int width,
int height,
Application app) |
static byte[] |
loadStreamAsByteArray(InputStream r) |
static String |
loadStreamAsString(URL url) |
static Integer |
parseInt(String s) |
static String |
probeContentType(String path) |
static String |
probeContentTypeByName(String path) |
static void |
propagateResources(AppComponent parent,
AppComponent child) |
static String |
rawString(net.thevpc.common.i18n.Str str,
AppComponent comp) |
static String |
rawString(net.thevpc.common.i18n.Str str,
Application app,
Locale locale) |
static String |
rawString(net.thevpc.common.i18n.Str str,
net.thevpc.common.i18n.I18n i18n,
Locale locale) |
static String |
rawString(net.thevpc.common.i18n.WritableStr str,
AppComponent comp) |
static net.thevpc.common.i18n.WritableStr |
resolveTextProperty(AppComponent model) |
static void |
setAllIconConfig(AppComponent component,
IconConfig iconConfig) |
static void |
setAllIconSet(AppComponent component,
String iconSet) |
static void |
setAllLocale(AppComponent component,
Locale locale) |
static byte[] |
toByteArray(InputStream in) |
static String |
toHex(int value,
int pad) |
static String |
trim(String in) |
static void |
visitComponentTree(AppComponent component,
Applications.ComponentTreeVisitor a) |
public static String rawString(net.thevpc.common.i18n.WritableStr str, AppComponent comp)
public static String rawString(net.thevpc.common.i18n.Str str, AppComponent comp)
public static String rawString(net.thevpc.common.i18n.Str str, Application app, Locale locale)
public static String rawString(net.thevpc.common.i18n.Str str, net.thevpc.common.i18n.I18n i18n, Locale locale)
public static net.thevpc.common.i18n.WritableStr resolveTextProperty(AppComponent model)
public static void copyResources(AppComponent parent, AppComponent child)
public static void propagateResources(AppComponent parent, AppComponent child)
public static void bindContent(AppComponent parent, AppComponent child)
public static boolean isBlank(String in)
public static byte[] toByteArray(InputStream in)
public static String toHex(int value, int pad)
public static Properties getExtensionToProperties()
public static AppImage loadIcon(String url, int width, int height, Application app)
public static void setAllLocale(AppComponent component, Locale locale)
public static void setAllIconSet(AppComponent component, String iconSet)
public static void setAllIconConfig(AppComponent component, IconConfig iconConfig)
public static void visitComponentTree(AppComponent component, Applications.ComponentTreeVisitor a)
public static byte[] loadStreamAsByteArray(InputStream r)
public static void copy(InputStream in, OutputStream out, int bufferSize)
public static AppFrame frameOf(AppComponent child)
public static boolean isDeepChildOf(AppComponent child, AppComponent parent)
Copyright © 2021 vpc open source initiative. All rights reserved.