java.lang.Runtime
来源:互联网 发布:网络环境异常怎么修复 编辑:程序博客网 时间:2024/05/20 19:49
每一个java程序都有Runtime类的单一实例,这个实例允许程序和程序运行的环境交互。当前的运行环境可通过getRuntime方法获得。
一个程序不能创建这个类的自己的实例。
void
addShutdownHook(Thread hook)
Registers a new virtual-machine shutdown hook.
int
availableProcessors()
Returns the number of processors available to the Java virtual machine.
Process
exec(String command)
Executes the specified string command in a separate process.
Process
exec(String[] cmdarray)
Executes the specified command and arguments in a separate process.
Process
exec(String[] cmdarray, String[] envp)
Executes the specified command and arguments in a separate process with the specified environment.
Process
exec(String[] cmdarray, String[] envp, File dir)
Executes the specified command and arguments in a separate process with the specified environment and working directory.
Process
exec(String command, String[] envp)
Executes the specified string command in a separate process with the specified environment.
Process
exec(String command, String[] envp, File dir)
Executes the specified string command in a separate process with the specified environment and working directory.
- java.lang.Runtime
- java.lang.Runtime
- java.lang.Runtime类
- java.lang.Runtime类
- 09 java.lang.Runtime
- java.lang.Runtime类
- 总结java.lang.Runtime
- java.lang.Runtime
- 认识java.lang.Runtime类
- 深入理解java.lang.Runtime
- java.lang.Runtime类总结
- java.lang.Runtime.availableProcessors() 方法
- java.lang.Runtime类总结
- java--深入研究java.lang.Runtime类
- java.lang.System类与java.lang.Runtime类
- java.lang.Runtime.exec的笔记
- 『转载』java.lang.Runtime.exec
- 深入研究java.lang.Runtime类
- OUTLOOK启动后最小化处理方法
- VI Design
- Extjs3.0官方可视化工具破解版及使用
- 如何将windows下的文件夹挂载到虚拟机Linux系统下
- 遍历进程、杀进程
- java.lang.Runtime
- 【日期时间】批处理判断一个文件在最近5分钟内是否被更新过
- 解决winxp文件内搜索搜索不到的问题!
- IT人的学习方法论(全)
- Web Design
- 遍历进程的4种方法
- Android的国际化与本地化!
- 经典ASP开发:弃VBScript而选JScript的八大理由
- Ubuntu8.04虚拟机中使用USB无线网卡上网