Copyright (C) 2014 Philip Helger (www.helger.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This class encapsulates the file IO base directory for the current user
The name of the default base directory relative to the WebFileIO where the
data is referenced
- The base directory to be used. By default
Set the base directory to be used.
The new base directory. May not be
null but maybe
ValueEnforcer.notNull (sBaseDirectory, "BaseDirectory");
- The base directory for all user-related data of the current user
the ID of the user for which the user data is requested. May neither
null nor empty.
- The base directory for all user-related data
ValueEnforcer.notEmpty (sUserID, "UserID");
if (!sRealUserID.equals (sUserID))
"' to be used as a file system name!");