java中可以使用file对象,获取当前电脑硬盘基本信息,示例如下:
创新互联成立十多年来,这条路我们正越走越好,积累了技术与客户资源,形成了良好的口碑。为客户提供成都网站制作、做网站、外贸营销网站建设、网站策划、网页设计、空间域名、网络营销、VI设计、网站改版、漏洞修补等服务。网站是否美观、功能强大、用户体验好、性价比高、打开快等等,这些对于网站建设都非常重要,创新互联通过对建站技术性的掌握、对创意设计的研究为客户提供一站式互联网解决方案,携手广大客户,共同发展进步。
import java.io.File;
public class DiskSpaceDetail {
public static void main(String[] args) {
File diskPartition = new File("C:");
long totalCapacity = diskPartition.getTotalSpace();
long freePartitionSpace = diskPartition.getFreeSpace();
long usablePatitionSpace = diskPartition.getUsableSpace();
System.out.println("**** Sizes in Mega Bytes ****\n");
System.out.println("Total C partition size : " + totalCapacity / (1024*1024) + " MB");
System.out.println("Usable Space : " + usablePatitionSpace / (1024 *1024) + " MB");
System.out.println("Free Space : " + freePartitionSpace / (1024 *1024) + " MB");
System.out.println("\n**** Sizes in Giga Bytes ****\n");
System.out.println("Total C partition size : " + totalCapacity / (1024*1024*1024) + " GB");
System.out.println("Usable Space : " + usablePatitionSpace / (1024 *1024*1024) + " GB");
System.out.println("Free Space : " + freePartitionSpace / (1024 *1024*1024) + " GB");
}
}
Usingtheremove-NamespaceCommand。根据JAVAAPI规则显示,Hbase没办法直接删除namespace命名空间,需要先把命名空间下的表都删了才能删除,也可以使用Usingtheremove-NamespaceCommand代码将命名空间删除。
static int number;//定义数组空间
static int[] t1=new int[number];
final关键字,数组下标是不能更改的,static final int number;
类似于cc++const
名称:接近全白 javascript:window.top.space_addItem(1,4703,0,80,0,0,94);
名称:快乐十分 javascript:window.top.space_addItem(1,8674,0,80,100,100,94);
名称:黑暗世界 javascript:window.top.space_addItem(1,9475,0,0,1,1,94);
名称:蓝色 javascript:window.top.space_addItem(1,11762,0,0,96,96,94);
名称:全红 javascript:window.top.space_addItem(1,11273,0,80,0,0,93);
名称:QQ三国官方 javascript:window.top.space_addItem(1,15166,0,80,0,0,94);
名称:QQ之声官方 javascript:window.top.space_addItem(1,15306,0,0,1,1,94);
名称:海边的海鸥 javascript:window.top.space_addItem(1,12736,0,80,0,0,123);
名称:小小罗 javascript:window.top.space_addItem(1,5669,0,0,0,1,0);
名称:测试老女人 javascript:window.top.space_addItem(1,11762,0,0,0,1,1);
名称:彩色 javascript:window.top.space_addItem(1,1327,0,0,0,1,0);
名称:激情四射 javascript:window.top.space_addItem(1,5668,0,0,0,1,0);
名称:Rooney javascript:window.top.space_addItem(1,5667,0,0,0,1,0);
名称:Ballack javascript:window.top.space_addItem(1,5666,0,0,0,1,0);
名称:国旗 javascript:window.top.space_addItem(1,2250,0,0,1,1,0);
名称:橙色视觉 javascript:window.top.space_addItem(1,1328,0,0,0,1,0);
名称:河流 javascript:window.top.space_addItem(1,1304,0,0,0,1,0);
名称:少女情怀 javascript:window.top.space_addItem(1,1305,0,0,0,1,0);
名称:星悬月 javascript:window.top.space_addItem(1,1306,0,0,0,1,0);
名称:欲望小溪 javascript:window.top.space_addItem(1,1307,0,0,0,1,0);
名称:兰色韵律 javascript:window.top.space_addItem(1,1333,0,0,0,1,0);
名称:春天 javascript:window.top.space_addItem(1,1303,0,0,0,1,0);
名称:红 javascript:window.top.space_addItem(1,1330,0,0,0,1,0);
名称:灰色BUG javascript:window.top.space_addItem(1,2882,0,0,0,1,1);
名称:灰色BUG javascript:window.top.space_addItem(1,6300,0,0,0,0,1);
名称:强生可伶 javascript:window.top.space_addItem(1,10144,0,0,0,1,0);
名称:强生可伶 javascript:window.top.space_addItem(1,10425,0,0,0,1,1);
名称:全橙样式 javascript:window.top.space_addItem(1,15306,0,0,1,1,124);
名称:全蓝样式 javascript:window.top.space_addItem(1,15166,0,80,0,0,124);
名称:淡淡粉色 javascript:window.top.space_addItem(1,7513,0,80,0,0,124);
名称:全绿样式 javascript:window.top.space_addItem(1,7619,0,80,0,0,124);
名称:全粉样式 javascript:window.top.space_addItem(1,4693,0,80,0,0,124);
名称:全白样式 javascript:window.top.space_addItem(1,5669,0,0,0,1,124);
名称:天蓝色 javascript:window.top.space_addItem(1,11762,0,0,0,1,94);
名称:纯紫 javascript:window.top.space_addItem(1,7510,0,80,0,0,93);
名称:纯米黄 javascript:window.top.space_addItem(1,7513,0,80,0,0,93);
名称:纯浅绿 javascript:window.top.space_addItem(1,7619,0,80,0,0,93);
名称:黑色全屏 javascript:window.top.space_addItem(1,12736,0,80,0,0,93);
名称:静悄悄 javascript:window.top.space_addItem(1,8669,100,80,100,100,94);
--------------------------------------------------------------------------------
使用方法:
打开你的QQ空间---然后在地址栏中将代码复进地址栏
---然后点一下自定义---随便轻轻的动一下你的版块--然后按回车键保存----这50个美丽的背景就是你的喇1