org.netbeans.lib.cvsclient.command
Class WrapperUtils
java.lang.Object
org.netbeans.lib.cvsclient.command.WrapperUtils
public class WrapperUtils
- extends Object
Support for .cvswrappers parsing and merging.
Method Summary |
static Map |
mergeWrapperMap(ClientServices client)
This method consolidates the wrapper map so that it follows CVS prioritization
rules for the wrappers. |
static void |
readWrappersFromFile(File file,
Map wrapperMap)
Reads the wrappers from the specified file and populates the specified
map |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperUtils
public WrapperUtils()
readWrappersFromFile
public static void readWrappersFromFile(File file,
Map wrapperMap)
throws IOException,
FileNotFoundException
- Reads the wrappers from the specified file and populates the specified
map
- Parameters:
file
- The File object corresponding to the file which is being processedwrapperMap
- The map which is being updated
- Throws:
IOException
FileNotFoundException
mergeWrapperMap
public static Map mergeWrapperMap(ClientServices client)
throws CommandException
- This method consolidates the wrapper map so that it follows CVS prioritization
rules for the wrappers. Both AddCommand and ImportCommand will be calling
this.
- Throws:
CommandException
Copyright © 2011. All Rights Reserved.