com.izforge.izpack.installer.unpacker
Class FileQueueFactory

java.lang.Object
  extended by com.izforge.izpack.installer.unpacker.FileQueueFactory

public class FileQueueFactory
extends Object

Factory for FileQueue instances, if queuing is supported by the current platform.

Author:
Tim Anderson

Constructor Summary
FileQueueFactory(Platform platform, Librarian librarian)
          Constructs a FileQueueFactory.
 
Method Summary
 FileQueue create()
          Creates a new FileQueue.
 boolean isSupported()
          Determines if queuing is supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileQueueFactory

public FileQueueFactory(Platform platform,
                        Librarian librarian)
Constructs a FileQueueFactory.

Parameters:
platform - the current platform
librarian - the librarian
Method Detail

isSupported

public boolean isSupported()
Determines if queuing is supported.

Returns:
true if queuing is supported

create

public FileQueue create()
Creates a new FileQueue.

Returns:
a new queue or null if queuing is not supported


Copyright © 2018. All rights reserved.