litesoft
Diff Revisions
820
vs
821
for /trunk/Java/core/Server/src/org/litesoft/textfiledirectory/TextFileDirectoryFileSystem.java
|
@@ -5,7 +5,6 @@ |
5 |
5 |
|
import org.litesoft.core.annotations.*; |
6 |
6 |
|
import org.litesoft.core.simpletypes.*; |
7 |
7 |
|
import org.litesoft.core.typeutils.*; |
8 |
|
- |
import org.litesoft.core.util.*; |
9 |
8 |
|
import org.litesoft.util.*; |
10 |
9 |
|
|
11 |
10 |
|
public class TextFileDirectoryFileSystem extends AbstractTextFileDirectory |
|
@@ -66,7 +65,7 @@ |
66 |
65 |
|
public TextFile load( @NotNull String pFileName ) |
67 |
66 |
|
throws FileDoesNotExists |
68 |
67 |
|
{ |
69 |
|
- |
String[] zLines = FileUtils.loadTextFile( getFile( pFileName = UtilsCommon.assertNotNullNotEmpty( "FileName", pFileName ) ) ); |
|
68 |
+ |
String[] zLines = FileUtils.loadTextFile( getFile( pFileName = Strings.assertNotNullNotEmpty( "FileName", pFileName ) ) ); |
70 |
69 |
|
return new TextFile( pFileName, zLines ); |
71 |
70 |
|
} |
72 |
71 |
|
|
|
@@ -95,7 +94,7 @@ |
95 |
94 |
|
public void delete( @NotNull String pFileName ) |
96 |
95 |
|
throws FileDoesNotExists |
97 |
96 |
|
{ |
98 |
|
- |
delete( getFile( UtilsCommon.assertNotNullNotEmpty( "FileName", pFileName ) ) ); |
|
97 |
+ |
delete( getFile( Strings.assertNotNullNotEmpty( "FileName", pFileName ) ) ); |
99 |
98 |
|
} |
100 |
99 |
|
|
101 |
100 |
|
private void write( File pFile, TextFile pTextFile ) |