java培训课程都有什么内容

Python015

java培训课程都有什么内容,第1张

目前Java培训内容包括:

1、HTML+CSS3+数据库

2、Java SE(Java面向对象思想;设计模式、面向对象原则、Java高阶API、线程、网络编程、反射、NIO)

3、Java web(Java web基础、JS、DOM操作、JSP/Servlet、第三方工具包、Tomcat...)

4、框架(网络原理、HTTP协议、Linux操作系统、云服务搭建、SSM框架应用、Oracle应用、Spring JPA、Hibernate...)

5、高可用、高并发、高扩展(SpringBoot、缓存、分布式、插件、全文索引、服务中间件、消息中间件、云服务器、云存储、云数据库、域名服务...)

6、微服务、大数据

以下是我们2020年更新的课程,您可以了解一下!

如想学习,可在我们官网了解详情。

如果想要自学,可私信我获取学习资料。免费提供

希望我的回答对你有所帮助,望采纳~

2,3已经实现,其他的自己试着做一下不难

package com.ui

import java.io.File

import java.io.FileInputStream

import java.io.FileNotFoundException

import java.io.FileOutputStream

import java.io.IOException

class NoteBook{

//创建文件

public File creatFile(String path,String name){

File tempPath=new File(path)

File tempFile=new File(path+File.separator+name+".txt")

if(!tempPath.exists()){

tempPath.mkdirs()

try {

tempFile.createNewFile()

} catch (IOException e) {

// TODO Auto-generated catch block

e.printStackTrace()

}

}else{

try {

tempFile.createNewFile()

} catch (IOException e) {

// TODO Auto-generated catch block

e.printStackTrace()

}

}

return tempFile

}

//写入文件

public void writeFile(File file,String content){

try {

FileOutputStream fos=new FileOutputStream(file)

fos.write(content.getBytes())

fos.close()

} catch (FileNotFoundException e) {

// TODO Auto-generated catch block

e.printStackTrace()

} catch (IOException e) {

// TODO Auto-generated catch block

e.printStackTrace()

}

}

//读取文件

public String readFile(File file){

String str=""

try {

FileInputStream fis=new FileInputStream(file)

int datas

while((datas=fis.read())!=-1){

str+=String.valueOf((char)datas)

}

} catch (FileNotFoundException e) {

// TODO Auto-generated catch block

e.printStackTrace()

} catch (IOException e) {

// TODO Auto-generated catch block

e.printStackTrace()

}

return str

}

//复制文件

public  void copyFile(File f1,File f2){

if(!f1.exists()){

System.out.println("目录"+f1.getName()+"不存在")

}else{

File[] files=f1.listFiles()

for(File f:files){

if(f.isDirectory()){

File temp=new File(f2,f.getName())

temp.mkdirs()

copyFile(f, temp)

}else{

File temp=new File(f2,f.getName())

try {

temp.createNewFile()

FileOutputStream fos=new FileOutputStream(temp)

FileInputStream fis=new FileInputStream(f)

int datas

while((datas=fis.read())!=-1){

fos.write(datas)

}

fos.close()

fis.close()

} catch (FileNotFoundException e1) {

// TODO Auto-generated catch block

e1.printStackTrace()

} catch (IOException e) {

// TODO Auto-generated catch block

e.printStackTrace()

}

}

}

}

}

//剪贴文件

public void cutFile(File f1,File f2){

int i=0

if(!f1.exists()){

System.out.println("目录"+f1.getName()+"不存在")

}else{

i++

File[] files=f1.listFiles()

for(File f:files){

if(f.isDirectory()){

File temp=new File(f2,f.getName())

temp.mkdirs()

cutFile(f, temp)

}else{

File temp=new File(f2,f.getName())

try {

temp.createNewFile()

FileOutputStream fos=new FileOutputStream(temp)

FileInputStream fis=new FileInputStream(f)

int datas

while((datas=fis.read())!=-1){

fos.write(datas)

}

fis.close()

fos.close()

f.delete()

} catch (FileNotFoundException e1) {

// TODO Auto-generated catch block

e1.printStackTrace()

} catch (IOException e) {

// TODO Auto-generated catch block

e.printStackTrace()

}

}

}

}

f1.delete()

}

}