Share via


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