Skip to main content
added 4 characters in body
Source Link
Paddy
  • 34k
  • 15
  • 82
  • 121

I would suggest that you consider your structure here. The Pdf example does work'does work' with a single file in your stream. From the rest of the example, it seems like this is the general rule for files.

The zip code extracts all the files in the archive and then does work'does work' on each one. 'And' is rarely a good thing in a method name 🙂

They're doing two different things, you never actually DoWork on the zip file itself, just the files within.

This sounds like a different bit of code is needed to handle compressed files, rather than shoehorning into the structure you have.

I would suggest that you consider your structure here. The Pdf example does work with a single file in your stream. From the rest of the example, it seems like this is the general rule for files.

The zip code extracts all the files in the archive and then does work on each one. 'And' is rarely a good thing in a method name 🙂

They're doing two different things, you never actually DoWork on the zip file itself, just the files within.

This sounds like a different bit of code is needed to handle compressed files, rather than shoehorning into the structure you have.

I would suggest that you consider your structure here. The Pdf example 'does work' with a single file in your stream. From the rest of the example, it seems like this is the general rule for files.

The zip code extracts all the files in the archive and then 'does work' on each one. 'And' is rarely a good thing in a method name 🙂

They're doing two different things, you never actually DoWork on the zip file itself, just the files within.

This sounds like a different bit of code is needed to handle compressed files, rather than shoehorning into the structure you have.

Source Link
Paddy
  • 34k
  • 15
  • 82
  • 121

I would suggest that you consider your structure here. The Pdf example does work with a single file in your stream. From the rest of the example, it seems like this is the general rule for files.

The zip code extracts all the files in the archive and then does work on each one. 'And' is rarely a good thing in a method name 🙂

They're doing two different things, you never actually DoWork on the zip file itself, just the files within.

This sounds like a different bit of code is needed to handle compressed files, rather than shoehorning into the structure you have.