object SettingsFileManger extends FileManager
Defines operation on settings file
- Alphabetic
- By Inheritance
- SettingsFileManger
- FileManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
createDirectoriesTree(file: File): Boolean
Creates directories tree for a new file.
Creates directories tree for a new file.
- file
File
- returns
true if no Exceptions occurs
- Attributes
- protected
- Definition Classes
- FileManager
-
def
deleteFile(filePath: Path): Try[Unit]
Delete file by path.
-
def
deleteSettingsFile(): Try[Unit]
Deletes settings file
Deletes settings file
- returns
Try[Unit]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getResourcesFileText(resourcePath: String): String
Get resource file content as text.
Get resource file content as text.
- resourcePath
file path referred to resource dir
- returns
String
- Attributes
- protected
- Definition Classes
- FileManager
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
jsonExtension: String
- Definition Classes
- FileManager
-
def
loadFile(filePath: String): Option[String]
Get the file content.
Get the file content.
- filePath
file path to String
- returns
An Option with the text if the operation is terminated with success
- Attributes
- protected
- Definition Classes
- FileManager
-
def
loadSettings(): List[Setting]
Load settings from file
Load settings from file
- returns
List[Setting]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
saveSettings(settings: List[Setting]): Unit
Save setting on file
Save setting on file
- settings
List[Setting]
-
def
saveToFile(file: File, text: String): Boolean
Create a new file or overwrite its content if exists.
Create a new file or overwrite its content if exists.
- file
File
- text
text to write into file
- returns
true if the operation is terminated with success
- Attributes
- protected
- Definition Classes
- FileManager
-
implicit
def
stringPathToFile(path: String): File
- Attributes
- protected
- Definition Classes
- FileManager
-
implicit
def
stringPathToPath(path: String): Path
- Attributes
- protected
- Definition Classes
- FileManager
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
implicit
val
who: String
- Definition Classes
- SettingsFileManger → FileManager