你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FileProvider Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.fluentcore.utils.FileProvider

public class FileProvider

The wrapper class for file related operations.

Constructor Summary

Constructor Description
FileProvider()

Method Summary

Modifier and Type Method and Description
void prepareFileLocation(File file)

Prepares the location for file to be created.

void prepareFileLocation(File[] files)

Prepares the location for file to be created.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

FileProvider

public FileProvider()

Method Details

prepareFileLocation

public void prepareFileLocation(File file)

Prepares the location for file to be created.

Parameters:

file - the file to be created.

Throws:

java.io.IOException - thrown when failed on IO.

prepareFileLocation

public void prepareFileLocation(File[] files)

Prepares the location for file to be created.

Parameters:

files - the files to be created.

Throws:

java.io.IOException - thrown when failed on IO.

Applies to