public interface ProjectImportTemporaryFiles
Modifier and Type | Method and Description |
---|---|
void |
closeWriters()
Closes writers opened with
getWriter(String) . |
void |
deleteTempFiles()
Deletes the temporary files held in this object.
|
String |
getEncoding()
Queries the encoding being used by any print writers opened by
getWriter(String) . |
File |
getEntityXmlFile(String entity)
Returns the temporary XML partition file an entity.
|
File |
getParentDirectory()
Returns the temporary directory which is the parent of all the temporary partition files.
|
PrintWriter |
getWriter(String entity)
Returns a writer capable of writing to an entity file.
|
File getParentDirectory()
File getEntityXmlFile(String entity)
PrintWriter getWriter(String entity) throws IOException
entity
- the entity being writtenIOException
- if the file cannot be opened for writingString getEncoding()
getWriter(String)
.void closeWriters()
getWriter(String)
. Must be called once writers are no longer needed.void deleteTempFiles()
Copyright © 2002-2019 Atlassian. All Rights Reserved.