Maison  >  Questions et réponses  >  le corps du texte

java - copy(InputStream in, Path target, CopyOption... options) 使用

问题1:CopyOption的每个枚举值分别代表怎样的操作?
问题2:在测试时,CopyOption用的是StandardCopyOption.COPY_ATTRIBUTES,报错为Exception in thread "main" java.lang.UnsupportedOperationException: COPY_ATTRIBUTES not supported如何解决?

巴扎黑巴扎黑2722 Il y a quelques jours831

répondre à tous(0)je répondrai

Pas de réponse
  • Annulerrépondre