public class JtUtilEx extends JtUtil
| 构造器和说明 |
|---|
JtUtilEx() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
extendDel(String name) |
List<Map<String,Object>> |
extendList() |
boolean |
fileFlush(String path,
boolean is_del) |
boolean |
fileFlush(String path,
boolean is_del,
String label,
String note) |
String |
fileGet(String path) |
boolean |
fileNew(int fid,
org.noear.solon.core.XContext ctx)
新建文件
|
boolean |
fileSet(int fid,
String fcontent)
文件设置内容
|
String |
img2String(String data) |
String |
imgGet(String path)
获取图片内容
|
byte[] |
imgGetBytes(String path) |
String |
imgOutName(org.noear.solon.core.XContext ctx,
String filename) |
String |
imgSet(String content,
String contentType,
String extension)
保存图片(内容,类型,后缀名可自定义)
|
String |
imgSet(String content,
String contentType,
String extension,
String name) |
String |
imgSet(String content,
String contentType,
String extension,
String name,
String label) |
String |
imgSet(org.noear.solon.core.XFile file)
保存图片
|
String |
imgSet(org.noear.solon.core.XFile file,
String extension)
保存图片(后缀名可自定义)
|
String |
imgSet(org.noear.solon.core.XFile file,
String tag,
String dir,
int name_mod) |
String |
imgUpd(String path,
String content)
修改图片
|
boolean |
loadJar(String path,
String data64,
String data_md5,
String plugin) |
List<Map<String,Object>> |
menuGet(String label) |
List<Map<String,Object>> |
menuGet(String label,
int pid) |
boolean |
restart() |
protected Map<String,Object> |
ridGet() |
void |
rootSet(String path) |
Object |
thumbnailOf(InputStream stream) |
aesDecrypt, aesDecrypt, aesEncrypt, aesEncrypt, base64Decode, base64Encode, cfg, cfgGet, cfgGet, cfgOf, cfgSet, codeByRandom, codeToImage, db, db, empList, empMap, empSet, executorList, guid, heihei, hmac, hmac, htmlEncode, http, interfaceList, ip, isNumber, liveString, liveTime, localAddr, log, log, md5, md5, newList, newList, newMap, newOutputStream, newSet, newUri, newXfile, oNode, paging, paging, ridAdd, sha1, sha1, sha256, sha256, sharedAdd, sharedHas, sleep, statusSet, streamOutToIn, streamToString, stringOf, stringToStream, toX16, toX64, urlDecode, urlEncodepublic static final JtUtilEx g2
public void rootSet(String path)
public List<Map<String,Object>> menuGet(String label, int pid) throws Exception
Exceptionpublic String imgSet(org.noear.solon.core.XFile file, String tag, String dir, int name_mod) throws Exception
Exceptionpublic String imgSet(org.noear.solon.core.XFile file, String extension) throws Exception
Exceptionpublic String imgSet(String content, String contentType, String extension) throws Exception
Exceptionpublic String imgSet(String content, String contentType, String extension, String name) throws Exception
Exceptionpublic String imgSet(String content, String contentType, String extension, String name, String label) throws Exception
Exceptionpublic String imgOutName(org.noear.solon.core.XContext ctx, String filename) throws Exception
Exceptionpublic boolean fileNew(int fid,
org.noear.solon.core.XContext ctx)
throws Exception
Exceptionpublic boolean fileFlush(String path, boolean is_del)
public boolean restart()
public boolean extendDel(String name)
public Object thumbnailOf(InputStream stream)
public boolean loadJar(String path, String data64, String data_md5, String plugin) throws Exception
ExceptionCopyright © 2020. All rights reserved.