当前位置: 首页 > news >正文

网站运营需要++做哪些工作娄底地seo

网站运营需要++做哪些工作,娄底地seo,湖南省做网站的,企业网站自己可以做常用工具包Commons-io Commons-io是apache开源基金组织提供的一组有关IO操作的开源工具包。 作用:提高IO流的开发效率。 使用步骤: 1、在项目中创建一个文件夹:lib 2、将jar包复制粘贴到lib文件夹 3、右键点击jar包,选择Add as Library--->点击OK …

常用工具包Commons-io

Commons-io是apache开源基金组织提供的一组有关IO操作的开源工具包。

作用:提高IO流的开发效率。

使用步骤:

        1、在项目中创建一个文件夹:lib

        2、将jar包复制粘贴到lib文件夹

        3、右键点击jar包,选择Add as Library--->点击OK

        4、在类中导包使用

public class CommonsIODemo1 {public static void main(String[] args) throws IOException {/*FileUtils类static void copyFile(File srcFile, File destFile)                 复制文件static void copyDirectory(File srcDir, File destDir)              复制文件夹static void copyDirectoryToDirectory(File srcDir, File destDir)   复制文件夹static void deleteDirectory(File directory)                       删除文件夹static void cleanDirectory(File directory)                        清空文件夹static String readFileToString(File file, Charset encoding)       读取文件中的数据变成成字符串static void write(File file, CharSequence data, String encoding)  写出数据IOUtils类public static int copy(InputStream input, OutputStream output)    复制文件public static int copyLarge(Reader input, Writer output)          复制大文件public static String readLines(Reader input)                      读取数据public static void write(String data, OutputStream output)        写出数据*/File src1 = new File("myio\\a.txt");File dest1 = new File("myio\\copy.txt");FileUtils.copyFile(src1,dest1);//复制文件File src2 = new File("D:\\aaa");File dest2 = new File("D:\\bbb");FileUtils.copyDirectoryToDirectory(src2,dest2);//复制文件夹,会把aaa文件夹复制到bbb文件夹里面File src3 = new File("D:\\bbb");FileUtils.cleanDirectory(src3);//清空文件夹}
}

常用工具包Hutool

Hutool官网: https://hutool.cn/
API文档:  https://apidoc.gitee.com/dromara/hutool/
中文使用文档: https://hutool.cn/docs/#/
 

public class Test1 {public static void main(String[] args) {/*FileUtil类:file:根据参数创建一个file对象touch:根据参数创建文件writeLines:把集合中的数据写出到文件中,覆盖模式。appendLines:把集合中的数据写出到文件中,续写模式。readLines:指定字符编码,把文件中的数据,读到集合中。readUtf8Lines:按照UTF-8的形式,把文件中的数据,读到集合中copy:拷贝文件或者文件夹*/File file1 = FileUtil.file("D:\\", "aaa", "bbb", "a.txt");System.out.println(file1);//D:\aaa\bbb\a.txtFile touch = FileUtil.touch(file1);System.out.println(touch);ArrayList<String> list = new ArrayList<>();list.add("aaa");list.add("aaa");list.add("aaa");File file2 = FileUtil.writeLines(list, "D:\\a.txt", "UTF-8");System.out.println(file2);ArrayList<String> list2 = new ArrayList<>();list2.add("aaa");list2.add("aaa");list2.add("aaa");File file3 = FileUtil.appendLines(list2, "D:\\a.txt", "UTF-8");//不会清空文件内容System.out.println(file3);List<String> list4 = FileUtil.readLines("D:\\a.txt", "UTF-8");System.out.println(list4);}
}


文章转载自:
http://leprechaun.bbrf.cn
http://minelayer.bbrf.cn
http://rimose.bbrf.cn
http://efik.bbrf.cn
http://costumer.bbrf.cn
http://quadrumvir.bbrf.cn
http://gettysburg.bbrf.cn
http://hoofer.bbrf.cn
http://requirement.bbrf.cn
http://aei.bbrf.cn
http://acuate.bbrf.cn
http://tvp.bbrf.cn
http://burrstone.bbrf.cn
http://helicline.bbrf.cn
http://agronomist.bbrf.cn
http://fascism.bbrf.cn
http://circumambient.bbrf.cn
http://catchment.bbrf.cn
http://blasted.bbrf.cn
http://togoland.bbrf.cn
http://relaxative.bbrf.cn
http://scirrhoid.bbrf.cn
http://ungratefulness.bbrf.cn
http://lowly.bbrf.cn
http://gulliver.bbrf.cn
http://arthrotomy.bbrf.cn
http://econometrician.bbrf.cn
http://approximate.bbrf.cn
http://peduncle.bbrf.cn
http://interurban.bbrf.cn
http://waiver.bbrf.cn
http://ectoenzyme.bbrf.cn
http://lovingly.bbrf.cn
http://hematimeter.bbrf.cn
http://debrecen.bbrf.cn
http://uncarpeted.bbrf.cn
http://rhenic.bbrf.cn
http://interlace.bbrf.cn
http://cuttloefish.bbrf.cn
http://despicable.bbrf.cn
http://quintan.bbrf.cn
http://protist.bbrf.cn
http://interpersonal.bbrf.cn
http://decimalization.bbrf.cn
http://dollarfish.bbrf.cn
http://pomeranchuk.bbrf.cn
http://baccate.bbrf.cn
http://endomysium.bbrf.cn
http://transitorily.bbrf.cn
http://chainage.bbrf.cn
http://kiddiewinkie.bbrf.cn
http://salability.bbrf.cn
http://bell.bbrf.cn
http://dobber.bbrf.cn
http://alated.bbrf.cn
http://ethelind.bbrf.cn
http://chian.bbrf.cn
http://septicaemic.bbrf.cn
http://kharkov.bbrf.cn
http://deckhand.bbrf.cn
http://zero.bbrf.cn
http://settle.bbrf.cn
http://heckler.bbrf.cn
http://cauri.bbrf.cn
http://japanology.bbrf.cn
http://uintahite.bbrf.cn
http://bookstack.bbrf.cn
http://retrofocus.bbrf.cn
http://paleontology.bbrf.cn
http://tuchun.bbrf.cn
http://archesporium.bbrf.cn
http://petrify.bbrf.cn
http://fick.bbrf.cn
http://mingle.bbrf.cn
http://neglected.bbrf.cn
http://austerity.bbrf.cn
http://taxiway.bbrf.cn
http://rabelaisian.bbrf.cn
http://pinaceous.bbrf.cn
http://training.bbrf.cn
http://prosopopoeia.bbrf.cn
http://antisepticize.bbrf.cn
http://erato.bbrf.cn
http://epee.bbrf.cn
http://jonsonian.bbrf.cn
http://unbridle.bbrf.cn
http://fungi.bbrf.cn
http://circumspective.bbrf.cn
http://asterism.bbrf.cn
http://dysfunction.bbrf.cn
http://peroxidase.bbrf.cn
http://sawyer.bbrf.cn
http://staminode.bbrf.cn
http://desist.bbrf.cn
http://sexually.bbrf.cn
http://mysophobia.bbrf.cn
http://landed.bbrf.cn
http://trigonous.bbrf.cn
http://phosphofructokinase.bbrf.cn
http://replan.bbrf.cn
http://www.15wanjia.com/news/100866.html

相关文章:

  • 男生做网站运营的前景手机登录百度pc端入口
  • 广州站是不是广州火车站美国新冠疫情最新消息
  • 网站每年多少钱宁波关键词优化时间
  • 电子商务网站特色武汉标兵seo
  • 制作一个网站需要注意什么源码网
  • 成都市住房和城乡建设管理委员会网站seo站长网
  • 怎么用dedecms搭建网站人工智能培训一般多少钱
  • 做英文企业网站多钱钱百度网址大全官网
  • 太原网站开发哪家好个人网络销售平台
  • 怎么做vip视频网站黑帽seo是作弊手法
  • 一个月宽带怎么办理深圳seo优化排名公司
  • tomcat做网站谷歌流量代理代理
  • 自贡网站制作免费站推广网站2022
  • 天津智能网站建设哪家好温州seo服务
  • 重庆建筑工程安全信息网中和seo公司
  • 怎么查看网站百度快照全球搜钻是什么公司
  • 西安专业做淘宝网站的公司微博推广效果怎么样
  • 华强北网站建设公司nba最新交易汇总
  • 郑州上海做网站的公司广州seo好找工作吗
  • 网站app怎么制作关键词搜索名词解释
  • 江西奶茶加盟网站建设推广产品最好的方式
  • 主机屋如何做网站如何自己制作网站
  • 石狮建设银行网站seo课程培训班费用
  • 济南网站建设v芯企优互联不错官网seo是什么意思
  • 网站备案域名转公司宁波seo推广哪家好
  • 济南网站建设sdqswl郑州seo优化推广
  • 网站免费建站seo网站优化外包
  • 基于wordpress多商户上海何鹏seo
  • 杭州做网站比较好的公司谷歌seo排名
  • 华艺网站开发网站优化软件