ch.busyboxes.agoo.service.impl.adapter
Class WatchedFileAdapter

java.lang.Object
  extended by ch.busyboxes.agoo.service.impl.adapter.WatchedFileAdapter

public class WatchedFileAdapter
extends java.lang.Object

Converter between WatchedFile and WebWatchedFile

Author:
julien@busyboxes.ch

Constructor Summary
WatchedFileAdapter()
           
 
Method Summary
static WebWatchedFile adaptWatchedFile(WatchedFile watchedFile)
          Convert a WatchedFile into a WebWatchedFile
static java.util.List<WebWatchedFile> adaptWatchedFiles(java.util.List<WatchedFile> watchedFiles)
          Converts a list of watched files to a list of web watched files
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WatchedFileAdapter

public WatchedFileAdapter()
Method Detail

adaptWatchedFile

public static WebWatchedFile adaptWatchedFile(WatchedFile watchedFile)
Convert a WatchedFile into a WebWatchedFile

Parameters:
watchedFile - the WatchedFile object
Returns:
the converted WebWatchedFile

adaptWatchedFiles

public static java.util.List<WebWatchedFile> adaptWatchedFiles(java.util.List<WatchedFile> watchedFiles)
Converts a list of watched files to a list of web watched files

Parameters:
watchedFiles - the list of watched files
Returns:
the list of web watched files


Copyright © 2009. All Rights Reserved.